aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa')
-rw-r--r--internal/rosa/llvm.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go
index fd3430f6..90210c6d 100644
--- a/internal/rosa/llvm.go
+++ b/internal/rosa/llvm.go
@@ -187,6 +187,7 @@ cp -r /system/include /usr/include && rm -rf /system/include
t.Load(Diffutils),
t.Load(Bash),
t.Load(Coreutils),
+ t.Load(Findutils),
t.Load(KernelHeaders),
),
@@ -231,6 +232,7 @@ func (t Toolchain) newLLVM() (musl, compilerRT, runtimes, clang pkg.Artifact) {
{"COMPILER_RT_BUILD_BUILTINS", "ON"},
{"COMPILER_RT_DEFAULT_TARGET_ONLY", "ON"},
+ {"COMPILER_RT_SANITIZERS_TO_BUILD", "asan"},
{"LLVM_ENABLE_PER_TARGET_RUNTIME_DIR", "ON"},
// does not work without libunwind
@@ -238,7 +240,6 @@ func (t Toolchain) newLLVM() (musl, compilerRT, runtimes, clang pkg.Artifact) {
{"COMPILER_RT_BUILD_LIBFUZZER", "OFF"},
{"COMPILER_RT_BUILD_MEMPROF", "OFF"},
{"COMPILER_RT_BUILD_PROFILE", "OFF"},
- {"COMPILER_RT_BUILD_SANITIZERS", "OFF"},
{"COMPILER_RT_BUILD_XRAY", "OFF"},
},
append: []string{"compiler-rt"},