w/o optimization better debug

This commit is contained in:
dwarning 2008-01-19 21:33:34 +00:00
parent b84cbc7127
commit 8f1b9a96d8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-01-19 Dietmar Warning
* configure.in: w/o optimization better debug
* src/frontend/numparam/xpressn.c: more precise recognition of subckt names
2008-01-12 Dietmar Warning
* configure.in, src/xspice/ipc/*.c: xspice ipc is possible
* src/include/ngspice.h: reflect the extended autoconfigure

View File

@ -194,10 +194,12 @@ dnl Set default CFLAG - only use -Wall if we have gcc
AC_PROG_CC
dnl the above AC_PROG_CC may set CFLAGS to "-o2 -g"
dnl the above AC_PROG_CC may set CFLAGS to "-O2 -g"
if test "$enable_debug" = "no"; then
AC_MSG_WARN(Removing debugging option!)
CFLAGS=" "
else
CFLAGS="-O0 -g"
fi
if test "x$GCC" = "xyes"; then