mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
ce7302098c
commit
8eb09052ff
@ -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'
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user