diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-07 10:52:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-07 10:52:09 +0000 |
commit | 842d89a3f21662d6d1fe6c101e75a51c261b8fd5 (patch) | |
tree | 83e627ebf850195e800f28b24bae25d52e4a41b1 /net-misc/ixp4xx/ixp4xx-2.1.ebuild | |
parent | stabilize for frozen-bubble (diff) | |
download | historical-842d89a3f21662d6d1fe6c101e75a51c261b8fd5.tar.gz historical-842d89a3f21662d6d1fe6c101e75a51c261b8fd5.tar.bz2 historical-842d89a3f21662d6d1fe6c101e75a51c261b8fd5.zip |
dont use tc-endian anymore
Package-Manager: portage-2.1.2_rc4-r6
Diffstat (limited to 'net-misc/ixp4xx/ixp4xx-2.1.ebuild')
-rw-r--r-- | net-misc/ixp4xx/ixp4xx-2.1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/ixp4xx/ixp4xx-2.1.ebuild b/net-misc/ixp4xx/ixp4xx-2.1.ebuild index 9b66ec181d00..04dca5db9107 100644 --- a/net-misc/ixp4xx/ixp4xx-2.1.ebuild +++ b/net-misc/ixp4xx/ixp4xx-2.1.ebuild @@ -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/net-misc/ixp4xx/ixp4xx-2.1.ebuild,v 1.3 2005/12/15 02:06:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ixp4xx/ixp4xx-2.1.ebuild,v 1.4 2007/01/07 10:52:09 vapier Exp $ inherit eutils toolchain-funcs linux-mod @@ -29,7 +29,7 @@ src_unpack() { src_compile() { cd ixp400_xscale_sw local ix_target - [[ $(tc-endian) == "little" ]] \ + [[ $(printf "#include <endian.h>\n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" | $(tc-getCPP) - | tail -n 1) == "little" ]] \ && ix_target=linuxle \ || ix_target=linuxbe make \ |