add -DDEBUG for develmode

This commit is contained in:
VincentWei
2018-01-30 20:47:47 +08:00
parent 3380dd13d6
commit 2f3b486873
+1 -1
View File
@@ -2426,7 +2426,7 @@ dnl define _GNU_SOURCE for pthread_rwlock_t
CFLAGS="$CFLAGS -D_GNU_SOURCE"
if test "x$devel_mode" = "xyes"; then
CPPFLAGS="$CPPFLAGS -D_DEBUG"
CPPFLAGS="$CPPFLAGS -DDEBUG -D_DEBUG"
if test "$ac_cv_prog_gcc" = "yes"; then
CPPFLAGS="$CPPFLAGS -Wall -Werror"
fi