From 639ea563e059007675e3fe8071fd24d882da29ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= Date: Mon, 17 Oct 2016 20:31:01 +0200 Subject: Disable asserts in release mode --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SConstruct') 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" -- cgit v1.2.3