Disable asserts in release mode
This commit is contained in:
parent
e96c49f849
commit
639ea563e0
|
@ -261,6 +261,8 @@ if selected_platform in platform_list:
|
||||||
sys.exit(255)
|
sys.exit(255)
|
||||||
suffix+=".opt"
|
suffix+=".opt"
|
||||||
|
|
||||||
|
env.Append(CCFLAGS=['-DNDEBUG']);
|
||||||
|
|
||||||
elif (env["target"]=="release_debug"):
|
elif (env["target"]=="release_debug"):
|
||||||
if (env["tools"]=="yes"):
|
if (env["tools"]=="yes"):
|
||||||
suffix+=".opt.tools"
|
suffix+=".opt.tools"
|
||||||
|
|
Loading…
Reference in New Issue