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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2012-06-12 15:11:36 -07:00
committed by Richard Purdie
parent 9f47c0f62e
commit e7d0a81a8f

View File

@@ -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++/"