diff --git a/configure b/configure index d26ace1..6d1e34f 100755 --- a/configure +++ b/configure @@ -436,13 +436,13 @@ if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then fi if [ "$debug" = "yes" ]; then - CFLAGS="-O1 -g $CFLAGS" + CFLAGS="-O1 -g -D_DEBUG $CFLAGS" elif [ $ARCH = ARM ]; then # arm-gcc-4.2 produces incorrect output with -ffast-math # and it doesn't save any speed anyway on 4.4, so disable it - CFLAGS="-O4 -fno-fast-math $CFLAGS" + CFLAGS="-O4 -fno-fast-math -DNDEBUG $CFLAGS" else - CFLAGS="-O4 -ffast-math $CFLAGS" + CFLAGS="-O4 -ffast-math -DNDEBUG $CFLAGS" fi if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then