From fe37d679e09dd11a57b2956666b0fcaceb7bc304 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 9 Apr 2010 16:02:50 +0100 Subject: gcc-configure-runtime: Make sure the sysroot is configured Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-configure-runtime.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta') 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" # ? -- cgit v1.2.3-54-g00ecf