Setting up ppc specific ALLOWED_FLAGS with the first being -mabi.
authorChris White <chriswhite@gentoo.org>
Sat, 25 Dec 2004 18:45:56 +0000 (18:45 +0000)
committerChris White <chriswhite@gentoo.org>
Sat, 25 Dec 2004 18:45:56 +0000 (18:45 +0000)
eclass/flag-o-matic.eclass

index 223b4b9f1448fac34daea5b2124e7fba6b9b7e44..da413cb890923e023ab9bf59083cec89c21384c9 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.78 2004/12/22 21:18:35 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.79 2004/12/25 18:45:56 chriswhite Exp $
 #
 # Author Bart Verwilst <verwilst@gentoo.org>
 
@@ -86,6 +86,7 @@ setup-allowed-flags() {
                        alpha)  ALLOWED_FLAGS="${ALLOWED_FLAGS} -fPIC" ;;
                        ia64)   ALLOWED_FLAGS="${ALLOWED_FLAGS} -fPIC" ;;
                        sparc)  ALLOWED_FLAGS="${ALLOWED_FLAGS} -m32 -m64" ;;
+                       ppc)    ALLOWED_FLAGS="${ALLOWED_FLAGS} -mabi" ;;
                esac
        fi
        # allow a bunch of flags that negate features / control ABI