diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-09-13 16:30:17 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2012-09-13 16:30:17 +0000 |
commit | aa5ddd55e21b235407ba8abe01db391620714ddb (patch) | |
tree | a97fdaa775139296ea4ae1f6e7c2a5559a26295f /gcc/configure | |
parent | 9c9d8dc149e84ec7a9fcd2ea013612d70351ffef (diff) |
* configure.ac (CXXFLAGS): Remove -O2 when not bootstrapping.
* configure: Regenerated.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191267 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure index 86fa82543e0..4a6a77e9858 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4863,10 +4863,12 @@ fi # optimizations to be activated explicitly by the toplevel. case "$CC" in */prev-gcc/xgcc*) ;; - *) CFLAGS=`echo $CFLAGS | sed "s/-O[s0-9]* *//" ` ;; + *) CFLAGS=`echo $CFLAGS | sed "s/-O[s0-9]* *//" ` + CXXFLAGS=`echo $CXXFLAGS | sed "s/-O[s0-9]* *//" ` ;; esac + # Determine PICFLAG for target gnatlib. @@ -17782,7 +17784,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17785 "configure" +#line 17787 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17888,7 +17890,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17891 "configure" +#line 17893 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |