From 2059d43d860c34035ee40479cf77da9cc8b59878 Mon Sep 17 00:00:00 2001 From: Arnaud Lacombe Date: Wed, 7 Apr 2010 18:35:21 +0200 Subject: cc/gcc: fix recent gcc build This fix missed conversion of CT_GCC_USE_* to CT_CC_GCC_USE_*. Signed-off-by: Arnaud Lacombe diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 9f0c33b..7ebfff6 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -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}") -- cgit v0.10.2-6-g49f6