Use -O in debug mode

This commit is contained in:
Frank Denis 2017-10-05 10:41:15 +02:00
parent c19946296c
commit 09ecb47a53

View File

@ -156,7 +156,7 @@ AC_ARG_ENABLE(debug,
[-g*], [ ], [-g*], [ ],
[*], [AS_VAR_APPEND([nxflags], [" $flag"])]) [*], [AS_VAR_APPEND([nxflags], [" $flag"])])
done done
CFLAGS="$nxflags -O0 -g3" CFLAGS="$nxflags -O -g3"
]) ])
ENABLE_CWFLAGS=yes ENABLE_CWFLAGS=yes
CPPFLAGS="$CPPFLAGS -DDEBUG=1 -U_FORTIFY_SOURCE" CPPFLAGS="$CPPFLAGS -DDEBUG=1 -U_FORTIFY_SOURCE"