summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-10-01 10:00:36 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-10-01 10:00:36 +0000
commit6213e410e42e030adf2a36d12630aa09716f4aef (patch)
treed2d4987380e39e0baac27d0099438f1860c9a525 /eclass/flag-o-matic.eclass
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-6213e410e42e030adf2a36d12630aa09716f4aef.tar.gz
gentoo-2-6213e410e42e030adf2a36d12630aa09716f4aef.tar.bz2
gentoo-2-6213e410e42e030adf2a36d12630aa09716f4aef.zip
Add support for other classes of MIPS cpus.
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index e525eded61f2..3fbb642c137f 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.70 2004/09/25 07:37:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.71 2004/10/01 10:00:36 robbat2 Exp $
#
# Author Bart Verwilst <verwilst@gentoo.org>
@@ -75,7 +75,7 @@ setup-allowed-flags() {
if [ -z "${ALLOWED_FLAGS}" ] ; then
export ALLOWED_FLAGS="-O -O1 -O2 -mcpu -march -mtune -fstack-protector -fno-stack-protector -fno-pie -fno-unit-at-a-time -pipe -g"
case "${ARCH}" in
- mips) ALLOWED_FLAGS="${ALLOWED_FLAGS} -mips1 -mips2 -mips3 -mips4 -mabi" ;;
+ mips) ALLOWED_FLAGS="${ALLOWED_FLAGS} -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 -EL -EB -mabi" ;;
amd64) ALLOWED_FLAGS="${ALLOWED_FLAGS} -fPIC -m64" ;;
x86) ALLOWED_FLAGS="${ALLOWED_FLAGS} -m32" ;;
alpha) ALLOWED_FLAGS="${ALLOWED_FLAGS} -fPIC" ;;