SConstruct: apply Jürgen's patch to disable assertions in release mode (works only on Linux not on Windows, but better than nothing). I tested the patch the last weeks without having problems.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30435 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-07-09 18:05:49 +00:00
parent ce7302098c
commit 8eb09052ff

View File

@ -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'
),