summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-10 09:27:28 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-10 09:33:28 +0100
commit3a5bd530e292ba1658d177e33af17824276646d5 (patch)
tree7ba157099217ca88d18e1fea779df3ba89ee67a5 /eclass/flag-o-matic.eclass
parentwww-client/firefox: backport rust fix to v79 (diff)
downloadgentoo-3a5bd530e292ba1658d177e33af17824276646d5.tar.gz
gentoo-3a5bd530e292ba1658d177e33af17824276646d5.tar.bz2
gentoo-3a5bd530e292ba1658d177e33af17824276646d5.zip
flag-o-matic.eclass: add whitespace around -g* options
No functional change. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 0c67ec9f7a76..fe385a88632c 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -27,7 +27,14 @@ setup-allowed-flags() {
'-fstack-protector*' '-fsanitize*' '-fstack-check*' -fno-stack-check
-fbounds-check -fbounds-checking -fno-strict-overflow
-fno-PIE -fno-pie -nopie -no-pie -fno-unit-at-a-time
- -g '-g[0-9]' -ggdb '-ggdb[0-9]' '-gdwarf-*' gstabs -gstabs+ -gz
+
+ # debugging symbols should generally be very safe to add
+ -g '-g[0-9]'
+ -ggdb '-ggdb[0-9]'
+ '-gdwarf-*'
+ gstabs -gstabs+
+ -gz
+
-fno-ident -fpermissive -frecord-gcc-switches
'-fdiagnostics*' '-fplugin*'
'-W*' -w