Skip to content

Commit

Permalink
Merge pull request #6434
Browse files Browse the repository at this point in the history
83b48c8 configure --enable-debug changes (Gavin Andresen)
  • Loading branch information
laanwj committed Jul 17, 2015
2 parents b01981e + 83b48c8 commit 059b352
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,13 @@ AC_ARG_ENABLE([debug],
[enable_debug=no])

if test "x$enable_debug" = xyes; then
CPPFLAGS="$CPPFLAGS -DDEBUG -DDEBUG_LOCKORDER"
if test "x$GCC" = xyes; then
CFLAGS="-g3 -O0 -DDEBUG"
CFLAGS="$CFLAGS -g3 -O0"
fi

if test "x$GXX" = xyes; then
CXXFLAGS="-g3 -O0 -DDEBUG"
CXXFLAGS="$CXXFLAGS -g3 -O0"
fi
fi

Expand Down

0 comments on commit 059b352

Please sign in to comment.