From 8f1b9a96d8fad2419ca183903d16a7470d8bae03 Mon Sep 17 00:00:00 2001 From: dwarning Date: Sat, 19 Jan 2008 21:33:34 +0000 Subject: [PATCH] w/o optimization better debug --- ChangeLog | 4 ++++ configure.in | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 13b7bb571..33e874d16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/configure.in b/configure.in index 8d1dc2d67..d6f24ea48 100644 --- a/configure.in +++ b/configure.in @@ -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