diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-06-25 19:27:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-06-25 19:27:33 +0000 |
commit | 0e71da60cd1663f2669da6326f3fd1dd387302fe (patch) | |
tree | 41ff389ea20901ea2eff4176ef81dc22ab42ce10 /eclass | |
parent | gcc.eclass uses gcc- funcs not gcc_ (diff) | |
download | historical-0e71da60cd1663f2669da6326f3fd1dd387302fe.tar.gz historical-0e71da60cd1663f2669da6326f3fd1dd387302fe.tar.bz2 historical-0e71da60cd1663f2669da6326f3fd1dd387302fe.zip |
ARCH specific support in ALLOWED_FLAGS
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 91f25e69d961..e62b8198bfb1 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.21 2003/06/25 05:56:40 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.22 2003/06/25 19:27:33 vapier Exp $ # # Author Bart Verwilst <verwilst@gentoo.org> @@ -36,7 +36,10 @@ INHERITED="$INHERITED $ECLASS" # C[XX]FLAGS that we allow in strip-flags -ALLOWED_FLAGS="-O -O1 -O2 -mcpu -march -mtune -fstack-protector -pipe -g -mips1 -mips2 -mips3 -mips4 -mabi" +ALLOWED_FLAGS="-O -O1 -O2 -mcpu -march -mtune -fstack-protector -pipe -g" +case "${ARCH}" in + mips) ALLOWED_FLAGS="${ALLOWED_FLAGS} -mips1 -mips2 -mips3 -mips4 -mabi" ;; +esac # C[XX]FLAGS that we are think is ok, but needs testing # NOTE: currently -Os have issues with gcc3 and K6* arch's |