Merge pull request #6857 from zaps166/disable-asserts-in-release
Disable asserts in release mode
This commit is contained in:
commit
3dd405c517
|
@ -262,6 +262,8 @@ if selected_platform in platform_list:
|
|||
sys.exit(255)
|
||||
suffix+=".opt"
|
||||
|
||||
env.Append(CCFLAGS=['-DNDEBUG']);
|
||||
|
||||
elif (env["target"]=="release_debug"):
|
||||
if (env["tools"]=="yes"):
|
||||
suffix+=".opt.tools"
|
||||
|
|
Loading…
Reference in New Issue