Compile with -O3 by default

This commit is contained in:
Pieter Wuille 2014-12-09 01:30:43 +01:00
parent b43b79a5b1
commit c88e2b8cca
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ AC_PATH_TOOL(AR, ar)
AC_PATH_TOOL(RANLIB, ranlib)
AC_PATH_TOOL(STRIP, strip)
if test -z $CFLAGS; then
CFLAGS="-O3 -g"
fi
AC_PROG_CC_C99
if test x"$ac_cv_prog_cc_c99" == x"no"; then
AC_MSG_ERROR([c99 compiler support required])