summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass')
-rw-r--r--hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass b/hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass
index 229b30a..02255cb 100644
--- a/hardened/toolchain/branches/pieworld/eclass/flag-o-matic.eclass
+++ b/hardened/toolchain/branches/pieworld/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.119 2007/05/12 11:45:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.120 2007/07/22 08:21:09 dberkholz Exp $
#
# Maintainer: toolchain@gentoo.org
@@ -102,6 +102,7 @@ setup-allowed-flags() {
-g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+ \
-fno-unit-at-a-time -fno-ident"
# allow a bunch of flags that negate features / control ABI - these
+ export ALLOWED_FLAGS="${ALLOWED_FLAGS} -W* -w"
# are always allowed.
# ? Why is -fPIC here? It should be covered by -m<something> where
# necessary. Setting -fPIC in C[XX]FLAGS isn't sensible, in general.