diff options
| author | John Wiegley <johnw@newartisans.com> | 2009-11-14 17:43:19 -0500 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2009-11-14 17:43:19 -0500 |
| commit | 8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3 (patch) | |
| tree | 26237a150367e13a24917d994602f5f94f979ec8 | |
| parent | cc7d51f154071c933489d94b130a1a47ce572266 (diff) | |
| download | ledger-8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3.tar.gz ledger-8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3.tar.bz2 ledger-8d698e5ccb471d546eee8a5bea6d6c56ec4b08c3.zip | |
Don't use GLIBCXX_DEBUG only for opt builds
| -rw-r--r-- | README-1ST | 3 | ||||
| -rwxr-xr-x | acprep | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -21,7 +21,8 @@ are a MacPorts user, you can install these dependencies very simply using: $ ./acprep dependencies Once this is done, I recommend building both debug and optimized versions of -Ledger, in a subdirectory of your source tree named 'build': +Ledger, in a subdirectory of your source tree named 'build' (which acprep will +manage for you, you simply need to make it): $ mkdir build $ ./acprep opt make @@ -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: |
