summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep2
-rw-r--r--lib/Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/acprep b/acprep
index 1d0fa795..0314a475 100755
--- a/acprep
+++ b/acprep
@@ -1296,7 +1296,9 @@ class PrepareBuild(CommandLineApp):
if self.options.gcc45 or self.options.gcc46:
self.CXXFLAGS.append('-g2')
+ self.CXXFLAGS.append('-ggdb')
self.LDFLAGS.append('-g2')
+ self.LDFLAGS.append('-ggdb')
else:
self.CXXFLAGS.append('-g')
self.LDFLAGS.append('-g')
diff --git a/lib/Makefile b/lib/Makefile
index 734816af..dfa54808 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -24,8 +24,8 @@ CPPFLAGS = -D_GLIBCXX_FULLY_DYNAMIC_STRING=1
ifneq ($(CC),clang)
CPPFLAGS += -D_GLIBCXX_DEBUG=1
endif
-CFLAGS = $(CPPFLAGS) -g
-LDFLAGS = -g
+CFLAGS = $(CPPFLAGS) -g2 -ggdb
+LDFLAGS = -g2 -ggdb
BOOST_SOURCE = boost-release
BOOST_DEFINES = define=_GLIBCXX_FULLY_DYNAMIC_STRING=1