-ggdb when debug mode is enable (--enable-debug)

This commit is contained in:
c9s 2014-05-20 15:34:41 +08:00
parent 5331d375ac
commit 188bb991b9

View file

@ -7,7 +7,7 @@ libr3_la_LIBADD=$(DEPS_LIBS)
AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall
if ENABLE_DEBUG if ENABLE_DEBUG
AM_CFLAGS += -g -fprofile-arcs -ftest-coverage AM_CFLAGS += -ggdb -fprofile-arcs -ftest-coverage
endif endif
if ENABLE_GRAPHVIZ if ENABLE_GRAPHVIZ