Merge pull request #6434
83b48c8 configure --enable-debug changes (Gavin Andresen)
This commit is contained in:
1 file changed
+3
-2
+3
-2
@@ -147,12 +147,13 @@ AC_ARG_ENABLE([debug],
|
|||||||
[enable_debug=no])
|
[enable_debug=no])
|
||||||
|
|
||||||
if test "x$enable_debug" = xyes; then
|
if test "x$enable_debug" = xyes; then
|
||||||
|
CPPFLAGS="$CPPFLAGS -DDEBUG -DDEBUG_LOCKORDER"
|
||||||
if test "x$GCC" = xyes; then
|
if test "x$GCC" = xyes; then
|
||||||
CFLAGS="-g3 -O0 -DDEBUG"
|
CFLAGS="$CFLAGS -g3 -O0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$GXX" = xyes; then
|
if test "x$GXX" = xyes; then
|
||||||
CXXFLAGS="-g3 -O0 -DDEBUG"
|
CXXFLAGS="$CXXFLAGS -g3 -O0"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user