* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
they contain -O2. * configure: Regenerate.
This commit is contained in:
parent
453dc3f010
commit
68f107fadb
3 changed files with 14 additions and 8 deletions
|
@ -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-05-14 Catherine Moore <clm@codesourcery.com>
|
||||
|
||||
* NEWS: Mention PowerPC VLE port.
|
||||
|
|
8
configure
vendored
8
configure
vendored
|
@ -6667,11 +6667,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
|
||||
|
||||
|
@ -6680,11 +6680,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
|
||||
|
||||
|
|
|
@ -2125,11 +2125,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)
|
||||
|
@ -2138,11 +2138,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 a new issue