summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
index 4163e87e1f..6c81d30243 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
@@ -11,6 +11,10 @@ EXTRA_OECONF_PATHS = "\
11 --with-build-sysroot=${STAGING_DIR_TARGET} \ 11 --with-build-sysroot=${STAGING_DIR_TARGET} \
12" 12"
13 13
14# Workaround for this issue: https://github.com/llvm/llvm-project/issues/65144 on aarch64
15# compiler-rt/sanitizers/aarch64: CHECK failed: sanitizer_allocator_primary64.h:133
16CXXFLAGS:append:aarch64 = " -DSANITIZER_CAN_USE_ALLOCATOR64=0"
17
14do_configure () { 18do_configure () {
15 rm -rf ${B}/${TARGET_SYS}/libsanitizer/ 19 rm -rf ${B}/${TARGET_SYS}/libsanitizer/
16 mkdir -p ${B}/${TARGET_SYS}/libsanitizer/ 20 mkdir -p ${B}/${TARGET_SYS}/libsanitizer/