summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-03 17:35:47 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-03 17:35:47 -0400
commitc3cc935ba6f22f580518fd8858fbe424f2842f31 (patch)
tree73d59f1af16290f4f7fd23e81058958d03d7ada1
parent0f1afdb3a7387e834c62b4ecc0a993bdde62d8f8 (diff)
downloadfork-ledger-c3cc935ba6f22f580518fd8858fbe424f2842f31.tar.gz
fork-ledger-c3cc935ba6f22f580518fd8858fbe424f2842f31.tar.bz2
fork-ledger-c3cc935ba6f22f580518fd8858fbe424f2842f31.zip
For 'acprep opt' enable NDEBUG for even more speed
-rwxr-xr-xacprep1
1 files changed, 1 insertions, 0 deletions
diff --git a/acprep b/acprep
index 78809f59..87e2cd64 100755
--- a/acprep
+++ b/acprep
@@ -1165,6 +1165,7 @@ class PrepareBuild(CommandLineApp):
self.LDFLAGS.append('-g')
def setup_flavor_opt(self):
+ self.CPPFLAGS.append('-DNDEBUG=1')
if self.darwin_gcc:
self.option_no_pch()
if '--disable-shared' in self.configure_args: