summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-04 21:13:17 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-04 21:13:17 +0000
commit644add8c8f77485dc423f0592d957c038623c108 (patch)
tree661c9abc895eace18d480f722bb8ef1d758d66a9 /eclass/flag-o-matic.eclass
parentRemove old version. (diff)
downloadhistorical-644add8c8f77485dc423f0592d957c038623c108.tar.gz
historical-644add8c8f77485dc423f0592d957c038623c108.tar.bz2
historical-644add8c8f77485dc423f0592d957c038623c108.zip
add -gstabs to allowed flag list #169352
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 66fb43640a77..a3a1514611ce 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.116 2007/03/04 21:03:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.117 2007/03/04 21:13:17 vapier Exp $
#
# Maintainer: toolchain@gentoo.org
@@ -92,6 +92,7 @@ inherit eutils toolchain-funcs multilib
#
# C[XX]FLAGS that we allow in strip-flags
+# Note: shell globs and character lists are allowed
setup-allowed-flags() {
if [[ -z ${ALLOWED_FLAGS} ]] ; then
export ALLOWED_FLAGS="-pipe"
@@ -99,7 +100,7 @@ setup-allowed-flags() {
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fstack-protector -fstack-protector-all"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fbounds-checking -fno-bounds-checking"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-PIE -fno-pie -fno-unit-at-a-time"
- export ALLOWED_FLAGS="${ALLOWED_FLAGS} -g -g0 -g1 -g2 -g3 -ggdb -ggdb0 -ggdb1 -ggdb2 -ggdb3"
+ export ALLOWED_FLAGS="${ALLOWED_FLAGS} -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-ident"
fi
# allow a bunch of flags that negate features / control ABI