summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-18 17:59:57 +0000
committerSam James <sam@gentoo.org>2022-01-22 22:18:56 +0000
commit7779f34228f63c1707fa7fde2a663f6dfd169061 (patch)
tree3b88700571ecc0687e3f47ce3a2d962e4ba798a9 /eclass
parentflag-o-matic.eclass: allow -fstack-clash-protection, -fcf-protection=* (diff)
downloadgentoo-7779f34228f63c1707fa7fde2a663f6dfd169061.tar.gz
gentoo-7779f34228f63c1707fa7fde2a663f6dfd169061.tar.bz2
gentoo-7779f34228f63c1707fa7fde2a663f6dfd169061.zip
flag-o-matic.eclass: allow -frecord-command-line
In Clang, -frecord-gcc-switches does the same as this anyway. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 062bd04e2e0b..50caa401bacf 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -80,6 +80,7 @@ _setup-allowed-flags() {
# Cosmetic/output related, see e.g. bug #830534
-fno-diagnostics-color '-fmessage-length=*'
-fno-ident -fpermissive -frecord-gcc-switches
+ -frecord-command-line
'-fdiagnostics*' '-fplugin*'
'-W*' -w