diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-10-22 12:55:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 12:55:21 +0200 |
commit | 3dd405c517da351873c1bec01e202a603cee5f75 (patch) | |
tree | c73655223066c208a75db4fb84a19b9ac20c0afa /SConstruct | |
parent | 853d1ce9f30b93933e5e2f5dad78f7bf75742b15 (diff) | |
parent | 639ea563e059007675e3fe8071fd24d882da29ba (diff) |
Merge pull request #6857 from zaps166/disable-asserts-in-release
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 aab605cdcb..f326e538f1 100644 --- a/SConstruct +++ b/SConstruct @@ -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" |