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>
Subject: [gentoo-dev] [PATCH 8/8] flag-o-matic.eclass: allow -frecord-command-line
Date: Tue, 18 Jan 2022 18:27:03
Message-Id: 20220118182412.1127220-8-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 In Clang, -frecord-gcc-switches does the same as this anyway.
2
3 Signed-off-by: Sam James <sam@g.o>
4 ---
5 eclass/flag-o-matic.eclass | 1 +
6 1 file changed, 1 insertion(+)
7
8 diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
9 index 062bd04e2e0bd..50caa401bacfb 100644
10 --- a/eclass/flag-o-matic.eclass
11 +++ b/eclass/flag-o-matic.eclass
12 @@ -80,6 +80,7 @@ _setup-allowed-flags() {
13 # Cosmetic/output related, see e.g. bug #830534
14 -fno-diagnostics-color '-fmessage-length=*'
15 -fno-ident -fpermissive -frecord-gcc-switches
16 + -frecord-command-line
17 '-fdiagnostics*' '-fplugin*'
18 '-W*' -w
19
20 --
21 2.34.1