summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc28
1 files changed, 17 insertions, 11 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index cf3e5e891d..64d0652283 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -13,17 +13,23 @@ PN = "gcc-cross-${TARGET_ARCH}"
13 13
14require gcc-configure-common.inc 14require gcc-configure-common.inc
15 15
16EXTRA_OECONF += " --enable-poison-system-directories" 16EXTRA_OECONF += "--enable-poison-system-directories"
17EXTRA_OECONF_append_sh4 = " --with-multilib-list= --enable-incomplete-targets " 17EXTRA_OECONF_append_sh4 = " \
18 18 --with-multilib-list= \
19EXTRA_OECONF += "--disable-libunwind-exceptions \ 19 --enable-incomplete-targets \
20 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ 20"
21 --with-system-zlib " 21
22 22EXTRA_OECONF += "\
23EXTRA_OECONF_PATHS = " \ 23 --disable-libunwind-exceptions \
24 --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++/${BINV} \ 24 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
25 --with-sysroot=${STAGING_DIR_TARGET} \ 25 --with-system-zlib \
26 --with-build-sysroot=${STAGING_DIR_TARGET}" 26"
27
28EXTRA_OECONF_PATHS = "\
29 --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++/${BINV} \
30 --with-sysroot=${STAGING_DIR_TARGET} \
31 --with-build-sysroot=${STAGING_DIR_TARGET} \
32"
27 33
28ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" 34ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
29 35