summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-configure-runtime.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-04-09 16:02:50 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-01 17:52:53 +0100
commitfe37d679e09dd11a57b2956666b0fcaceb7bc304 (patch)
treebbb57a0e07b0657028b7256162295670b825ee15 /meta/packages/gcc/gcc-configure-runtime.inc
parent7dcf1e47b729f590937cf8401c742c484e3dee85 (diff)
downloadopenembedded-core-fe37d679e09dd11a57b2956666b0fcaceb7bc304.tar.gz
openembedded-core-fe37d679e09dd11a57b2956666b0fcaceb7bc304.tar.bz2
openembedded-core-fe37d679e09dd11a57b2956666b0fcaceb7bc304.zip
gcc-configure-runtime: Make sure the sysroot is configured
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-configure-runtime.inc')
-rw-r--r--meta/packages/gcc/gcc-configure-runtime.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc-configure-runtime.inc b/meta/packages/gcc/gcc-configure-runtime.inc
index 175e08ad14..6716b0deed 100644
--- a/meta/packages/gcc/gcc-configure-runtime.inc
+++ b/meta/packages/gcc/gcc-configure-runtime.inc
@@ -2,7 +2,9 @@ require gcc-configure-common.inc
EXTRA_OECONF_PATHS = " \
--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
- --with-gxx-include-dir=${includedir}/c++/"
+ --with-gxx-include-dir=${includedir}/c++/ \
+ --with-sysroot=${STAGING_DIR_TARGET} \
+ --with-build-sysroot=${STAGING_DIR_TARGET}"
RUNTIMETARGET = "libgcc libssp libstdc++-v3"
# ?