summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-01-23 20:47:42 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-01-23 20:47:42 +0000
commit9b60610ac497b75a9f961867ce5279f6ace1a624 (patch)
tree038ca26c7981268cd77158e7d2641e522e839228 /eclass/toolchain-funcs.eclass
parentVersion bump, bug #79221. (diff)
downloadhistorical-9b60610ac497b75a9f961867ce5279f6ace1a624.tar.gz
historical-9b60610ac497b75a9f961867ce5279f6ace1a624.tar.bz2
historical-9b60610ac497b75a9f961867ce5279f6ace1a624.zip
Correct ARCH setting on sparc64.
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index d4993f55d3da..06c934a92dd9 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.26 2005/01/16 10:31:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.27 2005/01/23 20:47:42 eradicator Exp $
#
# Author: Toolchain Ninjas <ninjas@gentoo.org>
#
@@ -106,7 +106,11 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
powerpc64*) echo ppc64;;
powerpc*) echo ppc;;
sparc64*) ninj sparc64 sparc;;
- sparc*) echo sparc;;
+ sparc*) if [[ "${PROFILE_ARCH}" == "sparc64" ]]; then
+ ninj sparc64 sparc
+ else
+ echo sparc
+ fi;;
s390*) echo s390;;
sh64*) ninj sh64 sh;;
sh*) echo sh;;