diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-14 16:18:45 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-14 16:18:45 -0500 |
commit | 9b614cdd0d49ceec4c932a51877b896ba78adae3 (patch) | |
tree | 16a3a3ecc8dc761b9fb9ff07ae89193a4e649a40 | |
parent | ff484fb27b2f16eee071ed731eb524fb6c80f0c1 (diff) | |
download | ledger-9b614cdd0d49ceec4c932a51877b896ba78adae3.tar.gz ledger-9b614cdd0d49ceec4c932a51877b896ba78adae3.tar.bz2 ledger-9b614cdd0d49ceec4c932a51877b896ba78adae3.zip |
Use -fast for building optimized Ledger on OS X
-rwxr-xr-x | acprep | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1047,10 +1047,14 @@ class PrepareBuild(CommandLineApp): self.LDFLAGS.append('-g') 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') + if self.darwin_gcc: + self.CXXFLAGS.append('-fast') + self.LDFLAGS.append('-fast') + else: + 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') |