summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-11 01:02:45 +0000
committerSam James <sam@gentoo.org>2023-02-11 01:03:06 +0000
commit753b55ac720b1bde3fc883df6ae4a82588936f46 (patch)
tree9fd17b25c7206dfb67d05d99f1fb70bedc9e5aea /sys-libs
parentmedia-sound/normalize: fix tests (diff)
downloadgentoo-753b55ac720b1bde3fc883df6ae4a82588936f46.tar.gz
gentoo-753b55ac720b1bde3fc883df6ae4a82588936f46.tar.bz2
gentoo-753b55ac720b1bde3fc883df6ae4a82588936f46.zip
sys-libs/compiler-rt-sanitizers: CLANG_NO_DEFAULT_CONFIG workaround for <16
Bug: https://github.com/llvm/llvm-project/issues/60394 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-14.0.6.ebuild3
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-14.0.6.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-14.0.6.ebuild
index 767c9177aca1..5e8c7747038f 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-14.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-14.0.6.ebuild
@@ -215,6 +215,9 @@ src_test() {
local -x SANDBOX_ON=0
# wipe LD_PRELOAD to make ASAN happy
local -x LD_PRELOAD=
+ # avoid confusing with hardening, upstreamed for >= 16
+ # https://github.com/llvm/llvm-project/issues/60394
+ local -x CLANG_NO_DEFAULT_CONFIG=1
cmake_build check-all
}
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
index e5fe7115aaf8..de0aa3e3f2fe 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
@@ -214,6 +214,9 @@ src_test() {
local -x SANDBOX_ON=0
# wipe LD_PRELOAD to make ASAN happy
local -x LD_PRELOAD=
+ # avoid confusing with hardening, upstreamed for >= 16
+ # https://github.com/llvm/llvm-project/issues/60394
+ local -x CLANG_NO_DEFAULT_CONFIG=1
cmake_build check-all
}