This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/5] 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>
---
 scripts/build/cc/gcc.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

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}")
-- 
1.7.0.rc2.16.g99c03.dirty


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]