summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-25 12:00:46 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-25 12:00:46 +0000
commit3a66dc977a9866cca787ff44a79035ec5ac4037d (patch)
treeb8a874f84cdbeb9fd94aec4b36d6c1ea18bcedc9
parentebdb14c19c4928ce47b0c974855c76d41f31a0fc (diff)
downloadopenembedded-core-3a66dc977a9866cca787ff44a79035ec5ac4037d.tar.gz
openembedded-core-3a66dc977a9866cca787ff44a79035ec5ac4037d.tar.bz2
openembedded-core-3a66dc977a9866cca787ff44a79035ec5ac4037d.zip
gcc4-build-sdk.inc: Fix sysroot option
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3598 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/gcc/gcc4-build-sdk.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc4-build-sdk.inc b/meta/packages/gcc/gcc4-build-sdk.inc
index 612f2e8bc9..d6af5fe933 100644
--- a/meta/packages/gcc/gcc4-build-sdk.inc
+++ b/meta/packages/gcc/gcc4-build-sdk.inc
@@ -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"