diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2016-10-17 20:31:01 +0200 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2016-10-17 20:31:01 +0200 |
commit | 639ea563e059007675e3fe8071fd24d882da29ba (patch) | |
tree | 5a0882bee986fd9db664abcb0e89686858f2b5ec /SConstruct | |
parent | e96c49f849fd9c5e41c8284c7122ec94909badac (diff) |
Disable asserts in release mode
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 7b07ee8857..5c9d87a5a3 100644 --- a/SConstruct +++ b/SConstruct @@ -261,6 +261,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" |