From b618c03d902e2e960351ee37a33426f64d4a8224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Tue, 4 Dec 2007 21:05:41 +0000 Subject: [PATCH] scons/SConstruct: disable assertions for stable releases git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955 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 748d542436..4eef2111ff 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -753,7 +753,7 @@ utils.createConfigFile(conf, #('newapis.h', 'HAVE_NEWAPIS_H', 'c'), ], custom_tests = [ - (env.has_key('assertions') and env['assertions'], + (env.has_key('assertions') and env['assertions'] and devel_version, 'ENABLE_ASSERTIONS', 'Define if you want assertions to be enabled in the code' ),