diff options
Diffstat (limited to 'meta/packages/gcc/gcc-configure-runtime.inc')
-rw-r--r-- | meta/packages/gcc/gcc-configure-runtime.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc-configure-runtime.inc b/meta/packages/gcc/gcc-configure-runtime.inc index 175e08ad1..6716b0dee 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" # ? |