diff options
author | Bart Verwilst <verwilst@gentoo.org> | 2003-03-04 22:07:17 +0000 |
---|---|---|
committer | Bart Verwilst <verwilst@gentoo.org> | 2003-03-04 22:07:17 +0000 |
commit | b21bba8eefdc6893bef2d0ac3c0bc4b467c1dd97 (patch) | |
tree | a5d037aed7ff938f85599857a294e5866058e769 /eclass/flag-o-matic.eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-b21bba8eefdc6893bef2d0ac3c0bc4b467c1dd97.tar.gz gentoo-2-b21bba8eefdc6893bef2d0ac3c0bc4b467c1dd97.tar.bz2 gentoo-2-b21bba8eefdc6893bef2d0ac3c0bc4b467c1dd97.zip |
extended filter-flags
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 9bba43cc987d..2ea99921a833 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.12 2003/02/16 04:26:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.13 2003/03/04 22:07:17 verwilst Exp $ # # Author Bart Verwilst <verwilst@gentoo.org> @@ -29,6 +29,9 @@ INHERITED="$INHERITED $ECLASS" # Find and echo the value for a particular flag # +ALLOWED_FLAGS="-O -mcpu -march -pipe -g" + + filter-flags () { for x in $1 @@ -71,8 +74,6 @@ strip-flags() { local NEW_CFLAGS="" local NEW_CXXFLAGS="" - local ALLOWED_FLAGS="-O -mcpu -march -pipe -g" - set -f for x in ${CFLAGS} |