]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-configure-runtime: Make sure the sysroot is configured
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 9 Apr 2010 15:02:50 +0000 (16:02 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 1 Jun 2010 16:52:53 +0000 (17:52 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/packages/gcc/gcc-configure-runtime.inc

index 175e08ad1422592e8708ca5ad823eece2b1cf278..6716b0deed412f702778a017140be840e11290be 100644 (file)
@@ -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"
 #  ?