Skip to content

Commit

Permalink
Merge pull request bitcoin#146
Browse files Browse the repository at this point in the history
c88e2b8 Compile with -O3 by default (Pieter Wuille)
  • Loading branch information
sipa committed Dec 9, 2014
2 parents 9000458 + c88e2b8 commit 74ad63a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Expand Up @@ -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])
Expand Down

0 comments on commit 74ad63a

Please sign in to comment.