From 8eb09052ffde4556719a5d7382e7ba8a3f525499 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 9 Jul 2009 18:05:49 +0000 Subject: [PATCH] =?utf8?q?SConstruct:=20apply=20J=C3=BCrgen's=20patch=20to?= =?utf8?q?=20disable=20assertions=20in=20release=20mode=20(works=20only=20?= =?utf8?q?on=20Linux=20not=20on=20Windows,=20but=20better=20than=20nothing?= =?utf8?q?).=20I=20tested=20the=20patch=20the=20last=20weeks=20without=20h?= =?utf8?q?aving=20problems.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30435 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/scons/SConstruct b/development/scons/SConstruct index d1f7457d52..00c1f2414e 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -743,7 +743,7 @@ utils.createConfigFile(conf, #('newapis.h', 'HAVE_NEWAPIS_H', 'c'), ], custom_tests = [ - (env.has_key('assertions') and env['assertions'] and devel_version, + (env.has_key('assertions') and env['assertions'] and mode == 'debug', 'ENABLE_ASSERTIONS', 'Define if you want assertions to be enabled in the code' ), -- 2.39.5