diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-05 18:28:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-05 18:28:35 +0000 |
commit | 4d5a7f2174ea70b24c277641cbb83a00bda029fd (patch) | |
tree | ed7fa5fdd54417267f94ec77c1faec77c353ccdf /eclass | |
parent | Typo fix. (diff) | |
download | gentoo-2-4d5a7f2174ea70b24c277641cbb83a00bda029fd.tar.gz gentoo-2-4d5a7f2174ea70b24c277641cbb83a00bda029fd.tar.bz2 gentoo-2-4d5a7f2174ea70b24c277641cbb83a00bda029fd.zip |
make the CHOST mangling for ppc suck less
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 048b189317ed..39d5bfabcd19 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.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/kernel-2.eclass,v 1.188 2006/08/05 04:49:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.189 2006/08/05 18:28:35 vapier Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -63,7 +63,7 @@ EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_preinst pkg_po # Added by Daniel Ostrow <dostrow@gentoo.org> # This is an ugly hack to get around an issue with a 32-bit userland on ppc64. # I will remove it when I come up with something more reasonable. -[[ ${PROFILE_ARCH} == 'ppc64' ]] && CHOST='powerpc64-unknown-linux-gnu' +[[ ${PROFILE_ARCH} == "ppc64" ]] && CHOST="powerpc64-${CHOST#*-}" export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then |