mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +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/branches/BRANCH_1_6_X@30436 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
06caaf0528
commit
16712564dd
@ -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