Define DEBUG when using --enable-debug

This commit is contained in:
William Robinet 2020-08-30 20:59:48 +02:00
parent 30b7840ce1
commit dd5593e5b8

View file

@ -88,7 +88,7 @@ AC_ARG_ENABLE([debug],
[debug=${enableval}], [debug=no]) [debug=${enableval}], [debug=no])
if test "x${debug}" = xyes; then if test "x${debug}" = xyes; then
CFLAGS="$CFLAGS -g" CFLAGS="$CFLAGS -g -DDEBUG"
fi fi
AC_ARG_ENABLE([asan], AC_ARG_ENABLE([asan],