aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-07-17 08:41:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-07-17 08:42:19 +0200
commit059b3525c444ea35f5c017425b75ac2254a3f5f2 (patch)
tree687982941816dd302d3434f2e47ecbbe222d4514
parentb01981e758b9d2a26dc8588431412e3e81727968 (diff)
parent83b48c89718e7b3fc2b180be992446a068f7fdcc (diff)
Merge pull request #6434
83b48c8 configure --enable-debug changes (Gavin Andresen)
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8a54c2f76e..7f90b5f395 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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