1 |
commit: 50f429f0e0d8d81577b24c04061b5af01d350f9d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 16:35:28 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 22 22:18:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f429f0 |
7 |
|
8 |
flag-o-matic.eclass: allow -fno-diagnostics-color -fmessage-length=0 |
9 |
|
10 |
Both of these options are useful for automated reports and should |
11 |
be harmless. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/830534 |
14 |
Reported-by: Agostino Sarubbo <ago <AT> gentoo.org> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
eclass/flag-o-matic.eclass | 2 ++ |
18 |
1 file changed, 2 insertions(+) |
19 |
|
20 |
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass |
21 |
index f8181a17e911..38ad14d8f5fe 100644 |
22 |
--- a/eclass/flag-o-matic.eclass |
23 |
+++ b/eclass/flag-o-matic.eclass |
24 |
@@ -62,6 +62,8 @@ _setup-allowed-flags() { |
25 |
-gstabs -gstabs+ |
26 |
-gz |
27 |
|
28 |
+ # Cosmetic/output related, see e.g. bug #830534 |
29 |
+ -fno-diagnostics-color '-fmessage-length=*' |
30 |
-fno-ident -fpermissive -frecord-gcc-switches |
31 |
'-fdiagnostics*' '-fplugin*' |
32 |
'-W*' -w |