]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
Fix a bug in r199313 where I failed to restore CXXFLAGS. Doh! Not
authorChandler Carruth <chandlerc@gmail.com>
Wed, 15 Jan 2014 10:34:30 +0000 (10:34 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 15 Jan 2014 10:34:30 +0000 (10:34 +0000)
*quite* ready to just slam C++11 on by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199314 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 6906a7586ba1cb0c683b171bb6f97bc56a555216..7e399fcddd0a7137f30bed5896230a0085995e9b 100644 (file)
@@ -164,6 +164,7 @@ standard library.
 
 If this error is incorrect or you need to force things to work, you may pass
 '--disable-compiler-version-checks' to configure to bypass this test.])])
+      CXXFLAGS="$llvm_cv_old_cxxflags"
       ;;
     gcc)
       AC_MSG_CHECKING([whether GCC is new enough])
index b6ccfdb667acc2631767e25d5d0d5cbde375a1f3..a1b63f88888d55e02262fb8ad90434d3240f4d60 100755 (executable)
--- a/configure
+++ b/configure
@@ -3871,6 +3871,7 @@ fi
 
 rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
+      CXXFLAGS="$llvm_cv_old_cxxflags"
       ;;
     gcc)
       { echo "$as_me:$LINENO: checking whether GCC is new enough" >&5
@@ -10660,7 +10661,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 10663 "configure"
+#line 10664 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H