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])
if test "x${debug}" = xyes; then
CFLAGS="$CFLAGS -g"
CFLAGS="$CFLAGS -g -DDEBUG"
fi
AC_ARG_ENABLE([asan],