configure.ac (CXXFLAGS): Remove -O2 when not bootstrapping.
* configure.ac (CXXFLAGS): Remove -O2 when not bootstrapping. * configure: Regenerated. From-SVN: r191267
This commit is contained in:
parent
9c7de5c6bc
commit
8bf4ee3426
@ -1,3 +1,8 @@
|
||||
2012-09-13 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* configure.ac (CXXFLAGS): Remove -O2 when not bootstrapping.
|
||||
* configure: Regenerated.
|
||||
|
||||
2012-08-13 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.md (prefetch): Do not assert mode of operand 0.
|
||||
|
8
gcc/configure
vendored
8
gcc/configure
vendored
@ -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
|
||||
|
@ -296,9 +296,11 @@ AC_SUBST(OUTPUT_OPTION)
|
||||
# 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
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(CXXFLAGS)
|
||||
|
||||
# Determine PICFLAG for target gnatlib.
|
||||
GCC_PICFLAG_FOR_TARGET
|
||||
|
Loading…
x
Reference in New Issue
Block a user