Skip to content

Commit 059b352

Browse files
committed
Merge pull request #6434
83b48c8 configure --enable-debug changes (Gavin Andresen)
2 parents b01981e + 83b48c8 commit 059b352

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,13 @@ AC_ARG_ENABLE([debug],
147147
[enable_debug=no])
148148

149149
if test "x$enable_debug" = xyes; then
150+
CPPFLAGS="$CPPFLAGS -DDEBUG -DDEBUG_LOCKORDER"
150151
if test "x$GCC" = xyes; then
151-
CFLAGS="-g3 -O0 -DDEBUG"
152+
CFLAGS="$CFLAGS -g3 -O0"
152153
fi
153154

154155
if test "x$GXX" = xyes; then
155-
CXXFLAGS="-g3 -O0 -DDEBUG"
156+
CXXFLAGS="$CXXFLAGS -g3 -O0"
156157
fi
157158
fi
158159

0 commit comments

Comments
 (0)