From e7d0a81a8fedd3a7c4b0e27eeb860ca883611b92 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Jun 2012 15:11:36 -0700 Subject: 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] (From OE-Core rev: d132bcc41d9956f8cc171e34232d991e2b444689) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-configure-target.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools/gcc/gcc-configure-target.inc') 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++/" -- cgit v1.2.3-54-g00ecf