From 65f96d5e7c0d199536598d087550858119c7eebc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Sep 2011 19:06:55 -0500 Subject: Use -ggdb --- acprep | 2 ++ lib/Makefile | 4 ++-- 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 -- cgit v1.2.3