summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-18 16:35:28 +0000
committerSam James <sam@gentoo.org>2022-01-22 22:18:51 +0000
commit50f429f0e0d8d81577b24c04061b5af01d350f9d (patch)
treed950e260398157ca25060740b8ada0744005f760 /eclass/flag-o-matic.eclass
parentflag-o-matic.eclass: strip-flags: Fix logic to properly support "=" in patterns. (diff)
downloadgentoo-50f429f0e0d8d81577b24c04061b5af01d350f9d.tar.gz
gentoo-50f429f0e0d8d81577b24c04061b5af01d350f9d.tar.bz2
gentoo-50f429f0e0d8d81577b24c04061b5af01d350f9d.zip
flag-o-matic.eclass: allow -fno-diagnostics-color -fmessage-length=0
Both of these options are useful for automated reports and should be harmless. Closes: https://bugs.gentoo.org/830534 Reported-by: Agostino Sarubbo <ago@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index f8181a17e911..38ad14d8f5fe 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -62,6 +62,8 @@ _setup-allowed-flags() {
-gstabs -gstabs+
-gz
+ # Cosmetic/output related, see e.g. bug #830534
+ -fno-diagnostics-color '-fmessage-length=*'
-fno-ident -fpermissive -frecord-gcc-switches
'-fdiagnostics*' '-fplugin*'
'-W*' -w