diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 28 |
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 | ||
14 | require gcc-configure-common.inc | 14 | require gcc-configure-common.inc |
15 | 15 | ||
16 | EXTRA_OECONF += " --enable-poison-system-directories" | 16 | EXTRA_OECONF += "--enable-poison-system-directories" |
17 | EXTRA_OECONF_append_sh4 = " --with-multilib-list= --enable-incomplete-targets " | 17 | EXTRA_OECONF_append_sh4 = " \ |
18 | 18 | --with-multilib-list= \ | |
19 | EXTRA_OECONF += "--disable-libunwind-exceptions \ | 19 | --enable-incomplete-targets \ |
20 | --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ | 20 | " |
21 | --with-system-zlib " | 21 | |
22 | 22 | EXTRA_OECONF += "\ | |
23 | EXTRA_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 | |||
28 | EXTRA_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 | ||
28 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" | 34 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" |
29 | 35 | ||