NDEBUG *removes* asserts -- whoops
This commit is contained in:
parent
5517aadb0a
commit
6214413e3e
1 changed files with 3 additions and 3 deletions
|
@ -153,17 +153,17 @@ def do_sconscript(env, build_env, src_dir, out_dir):
|
|||
|
||||
|
||||
debug_env = create_env('debug', {
|
||||
'CPPDEFINES': ['NDEBUG'],
|
||||
'CPPDEFINES': ['DEBUG', 'NRELEASE'],
|
||||
'CCFLAGS': ['-O0', '-g'],
|
||||
})
|
||||
|
||||
beta_env = create_env('beta', {
|
||||
'CPPDEFINES': ['NDEBUG'],
|
||||
'CPPDEFINES': ['DEBUG', 'NRELEASE'],
|
||||
'CCFLAGS': ['-O3', '-g'],
|
||||
})
|
||||
|
||||
release_env = create_env('release', {
|
||||
'CPPDEFINES': ['NRELEASE'],
|
||||
'CPPDEFINES': ['NDEBUG', 'RELEASE'],
|
||||
'CCFLAGS': ['-O3']
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue