flag-o-matic.eclass: don't use -Werror in test-flag-PROG(), bug #712488
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 20 Mar 2020 22:28:19 +0000 (22:28 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 20 Mar 2020 22:33:36 +0000 (22:33 +0000)
commitab8fe14ae2e9110faa85ca1c4528b470c0be1535
treedcf527048f101c7dc6e7539b59581bad4861a63c
parent4af89c3b95d9e67a5f342a771ca6ce83e4671664
flag-o-matic.eclass: don't use -Werror in test-flag-PROG(), bug #712488

-Werror filters out too much (everything) if used compiler happens
to always generate warnings. Let's drop cosmetic stripping of
ignored flags until we really need it. Then we can consider more
selective filtering by using more targeted -Werror= options.

Reported-by: Anton Gubarkov
Closes: https://bugs.gentoo.org/712488
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/flag-o-matic.eclass
eclass/tests/flag-o-matic.sh