summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-28 06:54:37 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-28 06:54:37 +0000
commit84ce7291cc8e493229d1a0f66b180712bc414493 (patch)
treec2f638940730285f1041b9a3bdbaae22f2ba043f /sys-libs/uclibc
parentReplacing einfo with elog (diff)
downloadgentoo-2-84ce7291cc8e493229d1a0f66b180712bc414493.tar.gz
gentoo-2-84ce7291cc8e493229d1a0f66b180712bc414493.tar.bz2
gentoo-2-84ce7291cc8e493229d1a0f66b180712bc414493.zip
make sure uclibc_endian() works in a cross-compile setup
(Portage version: 2.1.2-r4)
Diffstat (limited to 'sys-libs/uclibc')
-rw-r--r--sys-libs/uclibc/uclibc-0.9.27-r1.ebuild4
-rw-r--r--sys-libs/uclibc/uclibc-0.9.28-r1.ebuild4
-rw-r--r--sys-libs/uclibc/uclibc-0.9.28-r2.ebuild4
-rw-r--r--sys-libs/uclibc/uclibc-0.9.28.ebuild4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild
index 4e34c278513d..d21108094484 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.22 2007/01/19 05:32:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.23 2007/01/28 06:54:37 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -68,7 +68,7 @@ just_headers() {
uclibc_endian() {
printf "#include <endian.h>\n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" \
- | $(tc-getCPP) - \
+ | $(tc-getCPP ${CTARGET}) - \
| tail -n 1
}
diff --git a/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild
index c7ecf4b58f7b..9447113de7fe 100644
--- a/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild
+++ b/sys-libs/uclibc/uclibc-0.9.28-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.28-r1.ebuild,v 1.7 2007/01/19 05:32:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild,v 1.8 2007/01/28 06:54:37 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
@@ -66,7 +66,7 @@ just_headers() {
uclibc_endian() {
printf "#include <endian.h>\n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" \
- | $(tc-getCPP) - \
+ | $(tc-getCPP ${CTARGET}) - \
| tail -n 1
}
diff --git a/sys-libs/uclibc/uclibc-0.9.28-r2.ebuild b/sys-libs/uclibc/uclibc-0.9.28-r2.ebuild
index 9b0f271e1b75..6d3024fd50dd 100644
--- a/sys-libs/uclibc/uclibc-0.9.28-r2.ebuild
+++ b/sys-libs/uclibc/uclibc-0.9.28-r2.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.28-r2.ebuild,v 1.2 2007/01/19 05:32:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28-r2.ebuild,v 1.3 2007/01/28 06:54:37 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
@@ -66,7 +66,7 @@ just_headers() {
uclibc_endian() {
printf "#include <endian.h>\n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" \
- | $(tc-getCPP) - \
+ | $(tc-getCPP ${CTARGET}) - \
| tail -n 1
}
diff --git a/sys-libs/uclibc/uclibc-0.9.28.ebuild b/sys-libs/uclibc/uclibc-0.9.28.ebuild
index 70365eb8e21b..27674ba26889 100644
--- a/sys-libs/uclibc/uclibc-0.9.28.ebuild
+++ b/sys-libs/uclibc/uclibc-0.9.28.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.28.ebuild,v 1.27 2007/01/19 05:32:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.28 2007/01/28 06:54:37 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
@@ -66,7 +66,7 @@ just_headers() {
uclibc_endian() {
printf "#include <endian.h>\n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" \
- | $(tc-getCPP) - \
+ | $(tc-getCPP ${CTARGET}) - \
| tail -n 1
}