]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc4-build-sdk.inc: Fix sysroot option
authorRichard Purdie <richard@openedhand.com>
Fri, 25 Jan 2008 12:00:46 +0000 (12:00 +0000)
committerRichard Purdie <richard@openedhand.com>
Fri, 25 Jan 2008 12:00:46 +0000 (12:00 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3598 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/gcc/gcc4-build-sdk.inc

index 612f2e8bc9f5c04b10d67542c320cfe4b0b2cecf..d6af5fe93329ee26b7932ed9e06f92ef7542e24a 100644 (file)
@@ -1,7 +1,7 @@
 USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
 USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d )}'
 
-EXTRA_OECONF += "--with-sysroot=${STAGING_DIR_TARGET} --with-build-sysroot=${STAGING_DIR_TARGET}"
+EXTRA_OECONF += "--with-sysroot=${prefix}/${TARGET_SYS} --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 do_configure () {
        (cd ${S} && gnu-configize) || die "failure running gnu-configize"