summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-09-07 19:06:55 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-09-07 19:06:55 -0500
commit65f96d5e7c0d199536598d087550858119c7eebc (patch)
treef8919e912ce26dee5c17a08ecfaf99096356c1a0
parentf0791bbd7297e737d9e13d0b0bb21473b173b2a7 (diff)
downloadfork-ledger-65f96d5e7c0d199536598d087550858119c7eebc.tar.gz
fork-ledger-65f96d5e7c0d199536598d087550858119c7eebc.tar.bz2
fork-ledger-65f96d5e7c0d199536598d087550858119c7eebc.zip
Use -ggdb
-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