diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-13 13:41:54 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-13 13:41:54 -0500 |
commit | 73baf9cd727407f6e47b410bbde3b4bcad482ae3 (patch) | |
tree | 71a93ea1eaf17901ebf89fe0556e87ab7ec6db50 /acprep | |
parent | ef3adb5fe0b91cfd7d74eab7275356aa49de7120 (diff) | |
parent | 2986bc779e055fe8bd3511994c539d65d3a7aa57 (diff) | |
download | fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.gz fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.bz2 fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.zip |
Merge branch 'next'
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -751,22 +751,26 @@ class PrepareBuild(CommandLineApp): def setup_for_johnw(self): # jww (2009-03-09): Some peculiarities specific to my system if exists('/Users/johnw/Dropbox/Accounts/ledger.dat'): - 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') + if self.current_flavor == 'debug': + 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') - if exists('/usr/local/stow/icu/include'): - self.sys_include_dirs.insert(0, '/usr/local/stow/icu/include') - self.sys_library_dirs.insert(0, '/usr/local/stow/icu/lib') + if exists('/usr/local/stow/icu/include'): + self.sys_include_dirs.insert(0, '/usr/local/stow/icu/include') + self.sys_library_dirs.insert(0, '/usr/local/stow/icu/lib') + + self.CPPFLAGS.append('-D_GLIBCXX_FULLY_DYNAMIC_STRING=1') + + self.options.use_glibcxx_debug = True self.CXXFLAGS.append('-march=nocona') self.CXXFLAGS.append('-msse3') - self.CPPFLAGS.append('-D_GLIBCXX_FULLY_DYNAMIC_STRING=1') self.configure_args.append('--disable-shared') self.configure_args.append('--enable-doxygen') + self.configure_args.append('--enable-python') - self.options.use_glibcxx_debug = True self.locate_my_libraries() def setup_for_system(self): @@ -1049,7 +1053,9 @@ class PrepareBuild(CommandLineApp): def setup_flavor_opt(self): self.CXXFLAGS.append('-O3') + self.LDFLAGS.append('-O3') self.CXXFLAGS.append('-fomit-frame-pointer') + self.LDFLAGS.append('-fomit-frame-pointer') def setup_flavor_gcov(self): self.CXXFLAGS.append('-g') |