summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-cross.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_4.7.bb6
2 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
index 65e340a0d7..3cb3452e63 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
@@ -3,12 +3,12 @@ require gcc-configure-common.inc
3USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}' 3USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
4 4
5EXTRA_OECONF += " --enable-poison-system-directories \ 5EXTRA_OECONF += " --enable-poison-system-directories \
6 --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \
7 " 6 "
8 7
9INHIBIT_DEFAULT_DEPS = "1" 8INHIBIT_DEFAULT_DEPS = "1"
10 9
11EXTRA_OECONF_PATHS = " \ 10EXTRA_OECONF_PATHS = " \
11 --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \
12 --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ 12 --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \
13 --with-sysroot=${STAGING_DIR_TARGET} \ 13 --with-sysroot=${STAGING_DIR_TARGET} \
14 --with-build-sysroot=${STAGING_DIR_TARGET}" 14 --with-build-sysroot=${STAGING_DIR_TARGET}"
diff --git a/meta/recipes-devtools/gcc/gcc-cross_4.7.bb b/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
index 75679d1b05..d60523513f 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
@@ -5,4 +5,10 @@ EXTRA_OECONF += "--disable-libunwind-exceptions \
5 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ 5 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
6 --with-system-zlib " 6 --with-system-zlib "
7 7
8EXTRA_OECONF_PATHS = " \
9 --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \
10 --with-sysroot=${STAGING_DIR_TARGET} \
11 --with-build-sysroot=${STAGING_DIR_TARGET}"
12
13
8ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" 14ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"