From: Khem Raj Date: Tue, 12 Jun 2012 22:11:36 +0000 (-0700) Subject: gcc-configure-common: Use build time sysroot for target gcc X-Git-Tag: 2015-4~10368 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d132bcc41d9956f8cc171e34232d991e2b444689;p=openembedded-core.git gcc-configure-common: Use build time sysroot for target gcc Otherwise it assumes / as sysroot on build host and starts searching for directories in there. [RP: Tweak to add missing = for consistent syntax] Signed-off-by: Khem Raj --- diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc index 1ee75048ba..b1ac4ff777 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc @@ -1,4 +1,6 @@ require gcc-configure-common.inc EXTRA_OECONF_PATHS = " \ + --with-sysroot=\ + --with-build-sysroot=${STAGING_DIR_TARGET} \ --with-gxx-include-dir=${includedir}/c++/"