summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-12 02:10:10 +0100
committerSam James <sam@gentoo.org>2024-08-12 02:19:31 +0100
commitefff53996be8ae20f332867358fd1a3af83a1ee2 (patch)
tree14f5fda7eb293a35b8540d44279fa95d84ac91cc /eclass
parenttoolchain.eclass: don't pass user flags in src_test (diff)
downloadgentoo-efff53996be8ae20f332867358fd1a3af83a1ee2.tar.gz
gentoo-efff53996be8ae20f332867358fd1a3af83a1ee2.tar.bz2
gentoo-efff53996be8ae20f332867358fd1a3af83a1ee2.zip
toolchain.eclass: drop filter-flags from src_test
This no longer does anything after the previous commit to use custom variables for flags for tests. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass13
1 files changed, 0 insertions, 13 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 326daf66586c..3cd3be676f9b 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1926,19 +1926,6 @@ toolchain_src_test() {
# Use a subshell to allow meddling with flags just for the testsuite
(
- # Unexpected warnings confuse the tests.
- filter-flags -W*
- # May break parsing.
- filter-flags '-fdiagnostics-color=*' '-fdiagnostics-urls=*'
- # Gentoo QA flags which don't belong in tests
- filter-flags -frecord-gcc-switches
- filter-flags '-Wl,--defsym=__gentoo_check_ldflags__=0'
- # Go doesn't support this and causes noisy warnings
- filter-flags -Wbuiltin-declaration-mismatch
- # The ASAN tests at least need LD_PRELOAD and the contract
- # tests.
- filter-flags -fno-semantic-interposition
-
# Workaround our -Wformat-security default which breaks
# various tests as it adds unexpected warning output.
GCC_TESTS_CFLAGS+=" -Wno-format-security -Wno-format"