configure: add -O2 by default to CFLAGS.

This commit is contained in:
Juan RP 2012-07-19 15:51:43 +02:00
parent bf7324f7a4
commit 9c05e4b0c9

2
configure vendored
View File

@ -179,7 +179,7 @@ else
echo "Using compiler $CC" echo "Using compiler $CC"
fi fi
echo "CC = $CC" >>$CONFIG_MK echo "CC = $CC" >>$CONFIG_MK
echo "CFLAGS = -pthread" >>$CONFIG_MK echo "CFLAGS = -O2 -pthread" >>$CONFIG_MK
if [ -n "$CFLAGS" ]; then if [ -n "$CFLAGS" ]; then
echo "CFLAGS += $CFLAGS" >>$CONFIG_MK echo "CFLAGS += $CFLAGS" >>$CONFIG_MK
fi fi