mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-07 17:55:30 +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'),
|
#('newapis.h', 'HAVE_NEWAPIS_H', 'c'),
|
||||||
],
|
],
|
||||||
custom_tests = [
|
custom_tests = [
|
||||||
(env.has_key('assertions') and env['assertions'] and devel_version,
|
(env.has_key('assertions') and env['assertions'] and mode == 'debug',
|
||||||
'ENABLE_ASSERTIONS',
|
'ENABLE_ASSERTIONS',
|
||||||
'Define if you want assertions to be enabled in the code'
|
'Define if you want assertions to be enabled in the code'
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user