diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-common.inc')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 75fb379956..9c4e98694b 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
| @@ -29,24 +29,26 @@ EXTRA_OECONF_INTERMEDIATE ?= "" | |||
| 29 | GCCMULTILIB ?= "--disable-multilib" | 29 | GCCMULTILIB ?= "--disable-multilib" |
| 30 | GCCTHREADS ?= "posix" | 30 | GCCTHREADS ?= "posix" |
| 31 | 31 | ||
| 32 | EXTRA_OECONF = "${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', True) != 'no']} \ | 32 | EXTRA_OECONF = "\ |
| 33 | --with-gnu-ld \ | 33 | ${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', True) != 'no']} \ |
| 34 | --enable-shared \ | 34 | --with-gnu-ld \ |
| 35 | --enable-languages=${LANGUAGES} \ | 35 | --enable-shared \ |
| 36 | --enable-threads=${GCCTHREADS} \ | 36 | --enable-languages=${LANGUAGES} \ |
| 37 | ${GCCMULTILIB} \ | 37 | --enable-threads=${GCCTHREADS} \ |
| 38 | --enable-c99 \ | 38 | ${GCCMULTILIB} \ |
| 39 | --enable-long-long \ | 39 | --enable-c99 \ |
| 40 | --enable-symvers=gnu \ | 40 | --enable-long-long \ |
| 41 | --enable-libstdcxx-pch \ | 41 | --enable-symvers=gnu \ |
| 42 | --program-prefix=${TARGET_PREFIX} \ | 42 | --enable-libstdcxx-pch \ |
| 43 | --without-local-prefix \ | 43 | --program-prefix=${TARGET_PREFIX} \ |
| 44 | ${OPTSPACE} \ | 44 | --without-local-prefix \ |
| 45 | ${EXTRA_OECONF_BASE} \ | 45 | ${OPTSPACE} \ |
| 46 | ${EXTRA_OECONF_FPU} \ | 46 | ${EXTRA_OECONF_BASE} \ |
| 47 | ${EXTRA_OECONF_PATHS} \ | 47 | ${EXTRA_OECONF_FPU} \ |
| 48 | ${@get_gcc_mips_plt_setting(bb, d)} \ | 48 | ${EXTRA_OECONF_PATHS} \ |
| 49 | ${@get_gcc_multiarch_setting(bb, d)}" | 49 | ${@get_gcc_mips_plt_setting(bb, d)} \ |
| 50 | ${@get_gcc_multiarch_setting(bb, d)} \ | ||
| 51 | " | ||
| 50 | 52 | ||
| 51 | export ac_cv_path_SED = 'sed' | 53 | export ac_cv_path_SED = 'sed' |
| 52 | export gcc_cv_collect2_libs = 'none required' | 54 | export gcc_cv_collect2_libs = 'none required' |
| @@ -55,11 +57,11 @@ export gcc_cv_collect2_libs = 'none required' | |||
| 55 | # hence being missed by the insane do_configure check). | 57 | # hence being missed by the insane do_configure check). |
| 56 | 58 | ||
| 57 | # Build uclibc compilers without cxa_atexit support | 59 | # Build uclibc compilers without cxa_atexit support |
| 58 | EXTRA_OECONF_append_linux = " --enable-__cxa_atexit" | 60 | EXTRA_OECONF_append_linux = " --enable-__cxa_atexit" |
| 59 | EXTRA_OECONF_append_libc-uclibc = " --enable-__cxa_atexit" | 61 | EXTRA_OECONF_append_libc-uclibc = " --enable-__cxa_atexit" |
| 60 | 62 | ||
| 61 | EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 63 | EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
| 62 | EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 64 | EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
| 63 | 65 | ||
| 64 | EXTRA_OECONF_FPU ??= "" | 66 | EXTRA_OECONF_FPU ??= "" |
| 65 | CPPFLAGS = "" | 67 | CPPFLAGS = "" |
