configure: add -O2 by default to CFLAGS.
This commit is contained in:
parent
bf7324f7a4
commit
9c05e4b0c9
2
configure
vendored
2
configure
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user