summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-target.inc2
1 files changed, 2 insertions, 0 deletions
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++/"