NDEBUG *removes* asserts -- whoops

This commit is contained in:
Eryn Wells 2014-07-19 10:11:51 -07:00
parent 5517aadb0a
commit 6214413e3e

View file

@ -153,17 +153,17 @@ def do_sconscript(env, build_env, src_dir, out_dir):
debug_env = create_env('debug', { debug_env = create_env('debug', {
'CPPDEFINES': ['NDEBUG'], 'CPPDEFINES': ['DEBUG', 'NRELEASE'],
'CCFLAGS': ['-O0', '-g'], 'CCFLAGS': ['-O0', '-g'],
}) })
beta_env = create_env('beta', { beta_env = create_env('beta', {
'CPPDEFINES': ['NDEBUG'], 'CPPDEFINES': ['DEBUG', 'NRELEASE'],
'CCFLAGS': ['-O3', '-g'], 'CCFLAGS': ['-O3', '-g'],
}) })
release_env = create_env('release', { release_env = create_env('release', {
'CPPDEFINES': ['NRELEASE'], 'CPPDEFINES': ['NDEBUG', 'RELEASE'],
'CCFLAGS': ['-O3'] 'CCFLAGS': ['-O3']
}) })