configure.ac (CFLAGS_FOR_TARGET, [...]): Make sure they contain -O2.
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure they contain -O2. * configure: Regenerate. From-SVN: r189046
This commit is contained in:
parent
4519d74588
commit
bd8e704ff4
@ -1,3 +1,9 @@
|
||||
2012-06-28 Christophe Lyon <christophe.lyon@st.com>
|
||||
|
||||
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
|
||||
they contain -O2.
|
||||
* configure: Regenerate.
|
||||
|
||||
2012-06-25 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
PR debug/53740
|
||||
|
8
configure
vendored
8
configure
vendored
@ -6690,11 +6690,11 @@ if test "x$CFLAGS_FOR_TARGET" = x; then
|
||||
CFLAGS_FOR_TARGET=$CFLAGS
|
||||
case " $CFLAGS " in
|
||||
*" -O2 "*) ;;
|
||||
*) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
|
||||
*) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
case " $CFLAGS " in
|
||||
*" -g "* | *" -g3 "*) ;;
|
||||
*) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
|
||||
*) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
@ -6703,11 +6703,11 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
|
||||
CXXFLAGS_FOR_TARGET=$CXXFLAGS
|
||||
case " $CXXFLAGS " in
|
||||
*" -O2 "*) ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
case " $CXXFLAGS " in
|
||||
*" -g "* | *" -g3 "*) ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
@ -2145,11 +2145,11 @@ if test "x$CFLAGS_FOR_TARGET" = x; then
|
||||
CFLAGS_FOR_TARGET=$CFLAGS
|
||||
case " $CFLAGS " in
|
||||
*" -O2 "*) ;;
|
||||
*) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
|
||||
*) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
case " $CFLAGS " in
|
||||
*" -g "* | *" -g3 "*) ;;
|
||||
*) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
|
||||
*) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(CFLAGS_FOR_TARGET)
|
||||
@ -2158,11 +2158,11 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
|
||||
CXXFLAGS_FOR_TARGET=$CXXFLAGS
|
||||
case " $CXXFLAGS " in
|
||||
*" -O2 "*) ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
case " $CXXFLAGS " in
|
||||
*" -g "* | *" -g3 "*) ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
|
||||
*) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(CXXFLAGS_FOR_TARGET)
|
||||
|
Loading…
Reference in New Issue
Block a user