-fprofile-arcs -ftest-coverage for debug mode

This commit is contained in:
c9s 2014-05-19 11:38:25 +08:00
parent 27a7826771
commit 2278a0f045

View file

@ -6,7 +6,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 AM_CFLAGS += -g -fprofile-arcs -ftest-coverage
endif endif
if ENABLE_GRAPHVIZ if ENABLE_GRAPHVIZ