1
0
Fork 0

Disable asserts in release mode

(cherry picked from commit 639ea563e0)
This commit is contained in:
Błażej Szczygieł 2016-10-17 20:31:01 +02:00 committed by Rémi Verschelde
parent 5a49e45d21
commit dcd4b80c13
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,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"