summaryrefslogtreecommitdiff
path: root/recipes/dietlibc
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-10-09 00:58:33 +0200
committerAndrea Adami <andrea.adami@gmail.com>2009-10-09 01:07:46 +0200
commitb696acdd7296726efce684e3434f6a6445ddd992 (patch)
tree27e8464d1a286e43902f57085b00d80e7723697a /recipes/dietlibc
parent50f5f9ae806d33c3684586589d7496026815937a (diff)
dietlibc.inc: use the right prefix for cross tools. Bump PR.
Diffstat (limited to 'recipes/dietlibc')
-rw-r--r--recipes/dietlibc/dietlibc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/dietlibc/dietlibc.inc b/recipes/dietlibc/dietlibc.inc
index 7884188486..624a9ae1bb 100644
--- a/recipes/dietlibc/dietlibc.inc
+++ b/recipes/dietlibc/dietlibc.inc
@@ -3,7 +3,7 @@ DESCRIPTION = "The diet libc is a libc that is optimized for small size. \
It can be used to create small statically linked binaries"
LICENSE = "GPLv2"
-INC_PR = "r1"
+INC_PR = "r2"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/dietlibc/dietlibc-${PV}.tar.bz2"
@@ -14,7 +14,7 @@ do_configure () {
do_compile () {
oe_runmake all CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" prefix=${STAGING_DIR_TARGET}/lib/dietlibc
- oe_runmake all ARCH="${TARGET_ARCH}" CROSS=" " prefix=${STAGING_DIR_TARGET}/lib/dietlibc
+ oe_runmake all ARCH="${TARGET_ARCH}" CC="${BUILD_CC}" CROSS="${HOST_PREFIX}" prefix=${STAGING_DIR_TARGET}/lib/dietlibc
}
#no packages needed, all binaries will be compiled with -static