summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-12 07:54:17 +0000
committerSam James <sam@gentoo.org>2024-03-12 07:54:17 +0000
commit5216a5babc967f8374e3fe6c6e631080977d33ce (patch)
tree800be7406ef453240adbf0a13fd24a2249d40fd6 /sys-libs
parentdev-libs/libcroco: fix configure (diff)
downloadgentoo-5216a5babc967f8374e3fe6c6e631080977d33ce.tar.gz
gentoo-5216a5babc967f8374e3fe6c6e631080977d33ce.tar.bz2
gentoo-5216a5babc967f8374e3fe6c6e631080977d33ce.zip
sys-libs/compiler-rt-sanitizers: skip -Wthread-safety on older versions
Too much pain to backport it, it's just that newer Clang got better at detecting these. Closes: https://bugs.gentoo.org/926330 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild3
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild3
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild3
3 files changed, 9 insertions, 0 deletions
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 a0fc463aab2e..0ecd27c9f4f2 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
@@ -91,6 +91,9 @@ src_prepare() {
fi
done
+ # bug #926330
+ sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || die
+
# TODO: fix these tests to be skipped upstream
if use asan && ! use profile; then
rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
index fb27ee0f9e4d..58a7a57b942a 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
@@ -89,6 +89,9 @@ src_prepare() {
fi
done
+ # bug #926330
+ sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || die
+
# TODO: fix these tests to be skipped upstream
if use asan && ! use profile; then
rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
index 34f22c544481..b9264ab7e0a0 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
@@ -89,6 +89,9 @@ src_prepare() {
fi
done
+ # bug #926330
+ sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || die
+
# TODO: fix these tests to be skipped upstream
if use asan && ! use profile; then
rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die