Both of these options are useful for automated reports and should
be harmless.

Closes: https://bugs.gentoo.org/830534
Reported-by: Agostino Sarubbo <a...@gentoo.org>
Signed-off-by: Sam James <s...@gentoo.org>
---
 eclass/flag-o-matic.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index f8181a17e911a..38ad14d8f5fe8 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
-- 
2.34.1


Reply via email to