diff options
Diffstat (limited to 'Make_global.am')
-rw-r--r-- | Make_global.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Make_global.am b/Make_global.am index 05a053c..e178fe5 100644 --- a/Make_global.am +++ b/Make_global.am @@ -7,10 +7,12 @@ LIBVERSION = 1:0:0 AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \ -I/usr/local/include -AM_CFLAGS = -std=gnu99 -Wall +AM_CFLAGS = -std=gnu99 if ENABLE_DEBUG -AM_CFLAGS += -g -ggdb -gdwarf-2 -g3 -DIPSET_DEBUG +AM_CFLAGS += -g -g3 -ggdb -gdwarf-2 -DIPSET_DEBUG -Wall -Werror +else +AM_CFLAGS += -O2 -DNDEBUG endif if ! ENABLE_VERBOSE |