From: <sg...@us...> - 2003-10-09 22:21:32
|
Update of /cvsroot/libfunutil/libfunutil/toc/tests In directory sc8-pr-cvs1:/tmp/cvs-serv5372 Modified Files: gnu_cpp_tools.sh Log Message: i'm a fucking idiot sometimes: i had the usage of NDEBUG inverted. :/ Index: gnu_cpp_tools.sh =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/toc/tests/gnu_cpp_tools.sh,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- gnu_cpp_tools.sh 27 Sep 2003 22:34:03 -0000 1.11 +++ gnu_cpp_tools.sh 9 Oct 2003 22:20:54 -0000 1.12 @@ -4,7 +4,6 @@ # --enable-debug causes stuff to be built -g instead of -02. This is a # little weird, but you can control the optimization level # with --enable-debug="-O3 -fno-inline" etc. -# --enable-debug (without arguments) also sets -DNDEBUG=1. # --enable-warn causes stuff to be built -Wall. To turn on -Werror, go # --enable-warn="-Wall -Werror" etc. # --enable-werror same as --enable-warn="-Wall -Werror" @@ -52,11 +51,11 @@ toc_add_make INCLUDES="$INCLUDES" toc_add_make CPPFLAGS="$CPPFLAGS" if test "$configure_enable_debug" = 1; then - OPT="-g $OPT -DNDEBUG=1" + OPT="-g $OPT" elif test "${configure_enable_debug:-0}" = 0; then # What's a sensible default here? -O2? Put it first in the hopes # that any values already in $OPT will take precedence. - OPT="-O2 $OPT" + OPT="-O2 $OPT -DNDEBUG=1" else # They specified some flags. OPT="$configure_enable_debug" |