mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
sys-libs/compiler-rt-sanitizers: Strip test broken by glibc-2.24
This commit is contained in:
@@ -70,6 +70,10 @@ src_prepare() {
|
||||
|
||||
if use test; then
|
||||
# remove tests that are broken by new glibc
|
||||
# (disabled in 6.0.0+, r313069)
|
||||
if use elibc_glibc && has_version '>=sys-libs/glibc-2.24'; then
|
||||
rm test/tsan/Linux/user_malloc.cc || die
|
||||
fi
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=36065
|
||||
if use elibc_glibc && has_version '>=sys-libs/glibc-2.25'; then
|
||||
rm test/lsan/TestCases/use_tls_dynamic.cc || die
|
||||
|
||||
@@ -74,6 +74,10 @@ src_prepare() {
|
||||
|
||||
if use test; then
|
||||
# remove tests that are broken by new glibc
|
||||
# (disabled in 6.0.0+, r313069)
|
||||
if use elibc_glibc && has_version '>=sys-libs/glibc-2.24'; then
|
||||
rm test/tsan/Linux/user_malloc.cc || die
|
||||
fi
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=36065
|
||||
if use elibc_glibc && has_version '>=sys-libs/glibc-2.25'; then
|
||||
rm test/lsan/TestCases/Linux/use_tls_dynamic.cc || die
|
||||
|
||||
Reference in New Issue
Block a user