Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: toolchain@g.o, Sam James <sam@g.o>, Agostino Sarubbo <ago@g.o>
Subject: [gentoo-dev] [PATCH 2/8] flag-o-matic.eclass: allow -fno-diagnostics-color -fmessage-length=0
Date: Tue, 18 Jan 2022 18:24:55
Message-Id: 20220118182412.1127220-2-sam@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/8] flag-o-matic.eclass: strip-flags: Fix logic to properly support "=" in patterns. by Sam James
1 Both of these options are useful for automated reports and should
2 be harmless.
3
4 Closes: https://bugs.gentoo.org/830534
5 Reported-by: Agostino Sarubbo <ago@g.o>
6 Signed-off-by: Sam James <sam@g.o>
7 ---
8 eclass/flag-o-matic.eclass | 2 ++
9 1 file changed, 2 insertions(+)
10
11 diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
12 index f8181a17e911a..38ad14d8f5fe8 100644
13 --- a/eclass/flag-o-matic.eclass
14 +++ b/eclass/flag-o-matic.eclass
15 @@ -62,6 +62,8 @@ _setup-allowed-flags() {
16 -gstabs -gstabs+
17 -gz
18
19 + # Cosmetic/output related, see e.g. bug #830534
20 + -fno-diagnostics-color '-fmessage-length=*'
21 -fno-ident -fpermissive -frecord-gcc-switches
22 '-fdiagnostics*' '-fplugin*'
23 '-W*' -w
24 --
25 2.34.1