aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-02-15 21:59:09 +0900
committerOphestra <cat@gensokyo.uk>2026-02-15 21:59:09 +0900
commitbb097536d4b954d95a4b5239544c615a5eb76825 (patch)
tree6bdb2137c379ff38b998811c70478f56f0a5896d
parent49b6526a38ba549f0f68f9eb8aa0a210c516c7f0 (diff)
internal/rosa: remove libcxxabi hack
This was caused by stack overflow which was resolved many commits ago. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/llvm.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go
index 9a85bf5f..cf4daf55 100644
--- a/internal/rosa/llvm.go
+++ b/internal/rosa/llvm.go
@@ -159,15 +159,6 @@ ln -s ld.lld /work/system/bin/ld
[2]string{"LIBCXX_HAS_MUSL_LIBC", "ON"},
[2]string{"LIBCXX_USE_COMPILER_RT", "ON"},
)
-
- if t > toolchainStage0 {
- // libcxxabi fails to compile if c++ headers not prefixed in /usr
- // is found by the compiler, and doing this is easier than
- // overriding CXXFLAGS; not using mv here to avoid chown failures
- scriptEarly += `
-cp -r /system/include /usr/include && rm -rf /system/include
-`
- }
}
if attr.flags&llvmRuntimeLibcxxABI != 0 {
cache = append(cache,