diff options
author | Daniel Ostrow <dostrow@gentoo.org> | 2006-01-24 22:35:10 +0000 |
---|---|---|
committer | Daniel Ostrow <dostrow@gentoo.org> | 2006-01-24 22:35:10 +0000 |
commit | fe7f49113ef5b1c59fb3164e33f18599fc482762 (patch) | |
tree | 89bf8c9293143a6a20402652e5a766034dd47934 /eclass | |
parent | Fixed DEPEND for modular X. (diff) | |
download | historical-fe7f49113ef5b1c59fb3164e33f18599fc482762.tar.gz historical-fe7f49113ef5b1c59fb3164e33f18599fc482762.tar.bz2 historical-fe7f49113ef5b1c59fb3164e33f18599fc482762.zip |
Minor fix for the previous patch to keep ppc64 working.
Diffstat (limited to '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 233b77ed52cf..e1897aca78c9 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.54 2006/01/24 20:12:53 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.55 2006/01/24 22:35:10 dostrow Exp $ # # Author: Toolchain Ninjas <toolchain@gentoo.org> # @@ -112,7 +112,7 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; } if [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.16) ]] && [[ ${type} == "kern" ]] ; then echo powerpc elif [[ $(KV_to_int ${KV}) -eq $(KV_to_int 2.6.15) ]] && [[ ${type} == "kern" ]] ; then - if [[ ${PROFILE_ARCH} == "ppc64" ]] ; then + if [[ ${host} == powerpc64* ]] || [[ ${PROFILE_ARCH} == "ppc64" ]] ; then echo powerpc else echo ppc |