DNDEBUG is set for release build. Assertions are skipped now in release build.
This commit is contained in:
parent
a9b76e8050
commit
dc889cfe80
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user