summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-14 17:43:19 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-14 17:43:19 -0500
commit8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3 (patch)
tree26237a150367e13a24917d994602f5f94f979ec8 /acprep
parentcc7d51f154071c933489d94b130a1a47ce572266 (diff)
downloadfork-ledger-8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3.tar.gz
fork-ledger-8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3.tar.bz2
fork-ledger-8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3.zip
Don't use GLIBCXX_DEBUG only for opt builds
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep4
1 files changed, 2 insertions, 2 deletions
diff --git a/acprep b/acprep
index 897c3772..bf582cf5 100755
--- a/acprep
+++ b/acprep
@@ -745,7 +745,7 @@ class PrepareBuild(CommandLineApp):
self.sys_library_dirs.append(path)
def setup_for_johnw(self):
- if self.current_flavor == 'debug':
+ if self.current_flavor != 'opt':
if exists('/usr/local/stow/cppunit/include'):
self.sys_include_dirs.insert(0, '/usr/local/stow/cppunit/include')
self.sys_library_dirs.insert(0, '/usr/local/stow/cppunit/lib')
@@ -972,7 +972,7 @@ class PrepareBuild(CommandLineApp):
#########################################################################
def locate_darwin_libraries(self):
- if self.current_flavor == 'debug':
+ if self.current_flavor != 'opt':
self.log.debug('We are using GLIBCXX_DEBUG, so setting up flags')
if self.options.use_glibcxx_debug: