diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-08 07:32:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-08 07:32:43 +0000 |
commit | 98c3b14c9479a81850eed6af1b39604835673817 (patch) | |
tree | e9c5366b2be85572e406186ff97231cebd83ec3c /sys-libs/uclibc/uclibc-0.9.27-r1.ebuild | |
parent | Added mambo 4.6.3 to the tree, removed insecure 4.6.2 (sec issue #204352 and (diff) | |
download | historical-98c3b14c9479a81850eed6af1b39604835673817.tar.gz historical-98c3b14c9479a81850eed6af1b39604835673817.tar.bz2 historical-98c3b14c9479a81850eed6af1b39604835673817.zip |
uclibc_endian should test target, not host #204747
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'sys-libs/uclibc/uclibc-0.9.27-r1.ebuild')
-rw-r--r-- | sys-libs/uclibc/uclibc-0.9.27-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild index adfca597b836..3fe77113f49e 100644 --- a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.28 2007/07/02 15:35:40 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.29 2008/01/08 07:32:43 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -70,7 +70,7 @@ uclibc_endian() { # XXX: this wont work for a toolchain which is bi-endian, but we # dont have any such thing at the moment, so not a big deal touch "${T}"/endian.s - $(tc-getAS) "${T}"/endian.s -o "${T}"/endian.o + $(tc-getAS ${CTARGET}) "${T}"/endian.s -o "${T}"/endian.o case $(file "${T}"/endian.o) in *" MSB "*) echo "big";; *" LSB "*) echo "little";; |