mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 11:17:00 +00:00
cc/gcc: fix recent gcc build
This fix missed conversion of CT_GCC_USE_* to CT_CC_GCC_USE_*. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
This commit is contained in:
parent
13d44f4e22
commit
2059d43d86
@ -150,11 +150,11 @@ do_cc_core() {
|
||||
else
|
||||
extra_config+=("--disable-__cxa_atexit")
|
||||
fi
|
||||
if [ "${CT_GCC_USE_GMP_MPFR}" = "y" ]; then
|
||||
if [ "${CT_CC_GCC_USE_GMP_MPFR}" = "y" ]; then
|
||||
extra_config+=("--with-gmp=${CT_PREFIX_DIR}")
|
||||
extra_config+=("--with-mpfr=${CT_PREFIX_DIR}")
|
||||
fi
|
||||
if [ "${CT_GCC_USE_PPL_CLOOG_MPC}" = "y" ]; then
|
||||
if [ "${CT_CC_GCC_USE_PPL_CLOOG_MPC}" = "y" ]; then
|
||||
extra_config+=("--with-ppl=${CT_PREFIX_DIR}")
|
||||
extra_config+=("--with-cloog=${CT_PREFIX_DIR}")
|
||||
extra_config+=("--with-mpc=${CT_PREFIX_DIR}")
|
||||
@ -303,11 +303,11 @@ do_cc() {
|
||||
if [ -n "${CC_ENABLE_CXX_FLAGS}" ]; then
|
||||
extra_config+=("--enable-cxx-flags=${CC_ENABLE_CXX_FLAGS}")
|
||||
fi
|
||||
if [ "${CT_GCC_USE_GMP_MPFR}" = "y" ]; then
|
||||
if [ "${CT_CC_GCC_USE_GMP_MPFR}" = "y" ]; then
|
||||
extra_config+=("--with-gmp=${CT_PREFIX_DIR}")
|
||||
extra_config+=("--with-mpfr=${CT_PREFIX_DIR}")
|
||||
fi
|
||||
if [ "${CT_GCC_USE_PPL_CLOOG_MPC}" = "y" ]; then
|
||||
if [ "${CT_CC_GCC_USE_PPL_CLOOG_MPC}" = "y" ]; then
|
||||
extra_config+=("--with-ppl=${CT_PREFIX_DIR}")
|
||||
extra_config+=("--with-cloog=${CT_PREFIX_DIR}")
|
||||
extra_config+=("--with-mpc=${CT_PREFIX_DIR}")
|
||||
|
Loading…
Reference in New Issue
Block a user