Merge pull request #6857 from zaps166/disable-asserts-in-release

Disable asserts in release mode
This commit is contained in:
Rémi Verschelde 2016-10-22 12:55:21 +02:00 committed by GitHub
commit 3dd405c517

View file

@ -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"