summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2020-08-10 09:13:13 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2020-08-10 09:13:13 +0000
commit3a81bda7da47bfec447b679f6e2e46f39080ddf8 (patch)
treecbadf379a1b871bceb98f3bb6ee67aad367603fe
parent2020-08-10 08:35:44 UTC (diff)
parentflag-o-matic.eclass: fix '-gstabs' filtering (allow '-gstabs') (diff)
downloadgentoo-3a81bda7da47bfec447b679f6e2e46f39080ddf8.tar.gz
gentoo-3a81bda7da47bfec447b679f6e2e46f39080ddf8.tar.bz2
gentoo-3a81bda7da47bfec447b679f6e2e46f39080ddf8.zip
Merge updates from master
-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..20ee39d98bad 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 '-gdwarf-*'
+ -gstabs -gstabs+
+ -gz
+
-fno-ident -fpermissive -frecord-gcc-switches
'-fdiagnostics*' '-fplugin*'
'-W*' -w