aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-configure-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gcc/gcc-configure-cross.inc')
-rw-r--r--recipes/gcc/gcc-configure-cross.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/gcc/gcc-configure-cross.inc b/recipes/gcc/gcc-configure-cross.inc
index 8b97b097ef..869ac5e9a1 100644
--- a/recipes/gcc/gcc-configure-cross.inc
+++ b/recipes/gcc/gcc-configure-cross.inc
@@ -3,9 +3,10 @@ require gcc-configure-common.inc
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
- --with-gxx-include-dir=${STAGING_DIR_TARGET}/${target_includedir}/c++ \
+ --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \
--with-sysroot=${STAGING_DIR_TARGET} \
- --with-build-sysroot=${STAGING_DIR_TARGET}"
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
+ --with-build-time-tools=${bindir}"
do_configure_prepend () {
export CC="${BUILD_CC}"