re PR other/54692 (gcc doesn't build with "-Og -g")
PR other/54692 * configure.ac (CFLAGS, CXXFLAGS): Remove -Ofast or -Og properly. * configure: Regenerated. From-SVN: r191702
This commit is contained in:
parent
915efd1fc9
commit
dadbefd359
@ -1,3 +1,10 @@
|
||||
2012-09-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/54692
|
||||
* configure.ac (CFLAGS, CXXFLAGS): Remove -Ofast or -Og
|
||||
properly.
|
||||
* configure: Regenerated.
|
||||
|
||||
2012-09-25 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
PR other/54701
|
||||
|
4
gcc/configure
vendored
4
gcc/configure
vendored
@ -4863,8 +4863,8 @@ fi
|
||||
# optimizations to be activated explicitly by the toplevel.
|
||||
case "$CC" in
|
||||
*/prev-gcc/xgcc*) ;;
|
||||
*) CFLAGS=`echo $CFLAGS | sed "s/-O[s0-9]* *//" `
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed "s/-O[s0-9]* *//" ` ;;
|
||||
*) CFLAGS=`echo "$CFLAGS " | sed -e "s/-Ofast[ ]//" -e "s/-O[gs][ ]//" -e "s/-O[0-9]*[ ]//" `
|
||||
CXXFLAGS=`echo "$CXXFLAGS " | sed -e "s/-Ofast[ ]//" -e "s/-O[gs][ ]//" -e "s/-O[0-9]*[ ]//" ` ;;
|
||||
esac
|
||||
|
||||
|
||||
|
@ -296,8 +296,8 @@ 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]]* *//" `
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed "s/-O[[s0-9]]* *//" ` ;;
|
||||
*) CFLAGS=`echo "$CFLAGS " | sed -e "s/-Ofast[[ ]]//" -e "s/-O[[gs]][[ ]]//" -e "s/-O[[0-9]]*[[ ]]//" `
|
||||
CXXFLAGS=`echo "$CXXFLAGS " | sed -e "s/-Ofast[[ ]]//" -e "s/-O[[gs]][[ ]]//" -e "s/-O[[0-9]]*[[ ]]//" ` ;;
|
||||
esac
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(CXXFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user