From 188bb991b92314c91bff5ba9a60ca0db44581303 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 20 May 2014 15:34:41 +0800 Subject: [PATCH] -ggdb when debug mode is enable (--enable-debug) --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4e4f1a4..6cbf4a3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,7 +7,7 @@ libr3_la_LIBADD=$(DEPS_LIBS) AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall if ENABLE_DEBUG -AM_CFLAGS += -g -fprofile-arcs -ftest-coverage +AM_CFLAGS += -ggdb -fprofile-arcs -ftest-coverage endif if ENABLE_GRAPHVIZ