summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2007-07-22 08:21:09 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2007-07-22 08:21:09 +0000
commit00b52e9f584aec792554d6487ec054af54ebadcc (patch)
tree178ea8bff4a318497e1995a9442de2edcc0cca6c /eclass
parentDrop virtual/x11 references. (diff)
downloadgentoo-2-00b52e9f584aec792554d6487ec054af54ebadcc.tar.gz
gentoo-2-00b52e9f584aec792554d6487ec054af54ebadcc.tar.bz2
gentoo-2-00b52e9f584aec792554d6487ec054af54ebadcc.zip
Add -W* and -w to ALLOWED_FLAGS.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index e8c412b38381..d04f653f8e4a 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.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() {
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-PIE -fno-pie -fno-unit-at-a-time"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-ident"
+ export ALLOWED_FLAGS="${ALLOWED_FLAGS} -W* -w"
fi
# allow a bunch of flags that negate features / control ABI
ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-stack-protector -fno-stack-protector-all \