mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
Compile with -O3 by default
This commit is contained in:
parent
b43b79a5b1
commit
c88e2b8cca
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ AC_PATH_TOOL(AR, ar)
|
||||||
AC_PATH_TOOL(RANLIB, ranlib)
|
AC_PATH_TOOL(RANLIB, ranlib)
|
||||||
AC_PATH_TOOL(STRIP, strip)
|
AC_PATH_TOOL(STRIP, strip)
|
||||||
|
|
||||||
|
if test -z $CFLAGS; then
|
||||||
|
CFLAGS="-O3 -g"
|
||||||
|
fi
|
||||||
|
|
||||||
AC_PROG_CC_C99
|
AC_PROG_CC_C99
|
||||||
if test x"$ac_cv_prog_cc_c99" == x"no"; then
|
if test x"$ac_cv_prog_cc_c99" == x"no"; then
|
||||||
AC_MSG_ERROR([c99 compiler support required])
|
AC_MSG_ERROR([c99 compiler support required])
|
||||||
|
|
Loading…
Add table
Reference in a new issue