]> git.lyx.org Git - lyx.git/commitdiff
scons/SConstruct: disable assertions for stable releases
authorUwe Stöhr <uwestoehr@web.de>
Tue, 4 Dec 2007 21:05:41 +0000 (21:05 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 4 Dec 2007 21:05:41 +0000 (21:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 748d5424365484cc2fae8ebad9a8fd0579a66094..4eef2111ff2e2147985c4cde5245c157fd5597bb 100644 (file)
@@ -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'
         ),