Added -m{32,64} to allowed flags on sparc.
authorJeremy Huddleston <eradicator@gentoo.org>
Wed, 22 Dec 2004 21:18:35 +0000 (21:18 +0000)
committerJeremy Huddleston <eradicator@gentoo.org>
Wed, 22 Dec 2004 21:18:35 +0000 (21:18 +0000)
eclass/flag-o-matic.eclass

index 0861ecad41d2681fd0b9cb2df19cdcf6f6bee0ed..223b4b9f1448fac34daea5b2124e7fba6b9b7e44 100644 (file)
@@ -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.77 2004/11/13 07:07:08 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.78 2004/12/22 21:18:35 eradicator Exp $
 #
 # Author Bart Verwilst <verwilst@gentoo.org>
 
@@ -85,6 +85,7 @@ setup-allowed-flags() {
                        x86)    ALLOWED_FLAGS="${ALLOWED_FLAGS} -m32" ;;
                        alpha)  ALLOWED_FLAGS="${ALLOWED_FLAGS} -fPIC" ;;
                        ia64)   ALLOWED_FLAGS="${ALLOWED_FLAGS} -fPIC" ;;
+                       sparc)  ALLOWED_FLAGS="${ALLOWED_FLAGS} -m32 -m64" ;;
                esac
        fi
        # allow a bunch of flags that negate features / control ABI