summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-03-26 07:49:07 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-03-26 07:50:41 +0000
commita5003d48705fa9b501022d4e6326c8f516a2eec0 (patch)
treed7a89c88f09e874851c6b22c39dfd5e31bd10b0f /eclass/tests
parentdev-ruby/rrdtool-bindings: add ruby27 (diff)
downloadgentoo-a5003d48705fa9b501022d4e6326c8f516a2eec0.tar.gz
gentoo-a5003d48705fa9b501022d4e6326c8f516a2eec0.tar.bz2
gentoo-a5003d48705fa9b501022d4e6326c8f516a2eec0.zip
flag-o-matic.eclass: revert "don't use -Werror in test-flag-PROG(), bug #712488"
This reverts commit ab8fe14ae2e9110faa85ca1c4528b470c0be1535. Triggers build failures on sys-libs/compiler-rt-sanitizers. Reported-by: Craig Andrews Bug: https://bugs.gentoo.org/714742 Bug: https://bugs.gentoo.org/712488 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/tests')
-rwxr-xr-xeclass/tests/flag-o-matic.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/eclass/tests/flag-o-matic.sh b/eclass/tests/flag-o-matic.sh
index 6dfacb04c077..229dff52af94 100755
--- a/eclass/tests/flag-o-matic.sh
+++ b/eclass/tests/flag-o-matic.sh
@@ -161,12 +161,10 @@ out=$(CC=clang test-flags-CC -finvalid-flag)
[[ $? -ne 0 && -z ${out} ]]
ftend
-### '-finline-limit=1200' is 'ignored' flag, not invalid.
-### We don't filter out ignored flags currently, bug #712488
-#tbegin "test-flags-CC (gcc-valid but clang-invalid flags)"
-#out=$(CC=clang test-flags-CC -finline-limit=1200)
-#[[ $? -ne 0 && -z ${out} ]]
-#ftend
+tbegin "test-flags-CC (gcc-valid but clang-invalid flags)"
+out=$(CC=clang test-flags-CC -finline-limit=1200)
+[[ $? -ne 0 && -z ${out} ]]
+ftend
tbegin "test-flags-CC (unused flags w/clang)"
out=$(CC=clang test-flags-CC -Wl,-O1)