summaryrefslogtreecommitdiff
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
commitd83c2526fa8744120a3cd02959ecfa34cd4f6b65 (patch)
tree5c0b8292f1fd23580a5058fb03cac46924395bb5 /eclass/flag-o-matic.eclass
parentRemove virtual/x11 references. (diff)
downloadhistorical-d83c2526fa8744120a3cd02959ecfa34cd4f6b65.tar.gz
historical-d83c2526fa8744120a3cd02959ecfa34cd4f6b65.tar.bz2
historical-d83c2526fa8744120a3cd02959ecfa34cd4f6b65.zip
Add -W* and -w to ALLOWED_FLAGS.
Diffstat (limited to 'eclass/flag-o-matic.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 \