diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-02-01 23:50:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-02-01 23:50:15 +0000 |
commit | ca266d28f8086ed5ff501900976a2be9393add76 (patch) | |
tree | a8e0862b2597279896c5ea5b3209f3c53bfa0c17 /eclass/toolchain-funcs.eclass | |
parent | old (diff) | |
download | gentoo-2-ca266d28f8086ed5ff501900976a2be9393add76.tar.gz gentoo-2-ca266d28f8086ed5ff501900976a2be9393add76.tar.bz2 gentoo-2-ca266d28f8086ed5ff501900976a2be9393add76.zip |
make tc-endian act like tc-arch wrt to default CHOST/CTARGET selection
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index c6be35c49bb7..4b8bdae5bf0b 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.28 2005/01/24 04:32:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.29 2005/02/01 23:50:15 vapier Exp $ # # Author: Toolchain Ninjas <ninjas@gentoo.org> # @@ -125,7 +125,7 @@ tc-arch() { } tc-endian() { local host=$1 - [[ -z ${host} ]] && host=${CHOST} + [[ -z ${host} ]] && host=${CTARGET:-${CHOST}} case ${host} in alpha*) echo big;; |