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:
Arnaud Lacombe 2010-04-07 18:35:21 +02:00
parent 13d44f4e22
commit 2059d43d86

View File

@ -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}")