From dc889cfe80ac6693e76a2ff3c49211026e2a516b Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Wed, 25 Aug 2010 07:56:25 +0000 Subject: [PATCH] DNDEBUG is set for release build. Assertions are skipped now in release build. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 3684295d0..20055ccd8 100644 --- a/SConstruct +++ b/SConstruct @@ -32,7 +32,7 @@ else: #Mac OS X if GetOption('buildconfiguration') == 'debug': env.Append(CCFLAGS = ' -g3') else: - env.Append(CCFLAGS = ' -O3') + env.Append(CCFLAGS = ' -O3 -DNDEBUG') #print "Compiling with: ", env['CXX'] conf = Configure(env) if not conf.CheckCXX():