diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-07-22 08:21:09 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-07-22 08:21:09 +0000 |
commit | 00b52e9f584aec792554d6487ec054af54ebadcc (patch) | |
tree | 178ea8bff4a318497e1995a9442de2edcc0cca6c /eclass | |
parent | Drop virtual/x11 references. (diff) | |
download | gentoo-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.eclass | 3 |
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 \ |