[Xfce4-commits] <midori:master> Disable cast checks and assertions if 'debug' is 'none'

Christian Dywan noreply at xfce.org
Sun May 2 11:56:01 CEST 2010


Updating branch refs/heads/master
         to 05dd4b963af08f5fbbcb8b17fd0283aa60f5f37c (commit)
       from f24bc315e21c6787ed1d3f96e5c9a756871c9ceb (commit)

commit 05dd4b963af08f5fbbcb8b17fd0283aa60f5f37c
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat May 1 23:51:44 2010 +0200

    Disable cast checks and assertions if 'debug' is 'none'

 wscript |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index e0b8f21..d101304 100644
--- a/wscript
+++ b/wscript
@@ -303,7 +303,7 @@ def configure (conf):
             if 'CCFLAGS' in os.environ:
                 conf.env.append_value ('CCFLAGS', os.environ['CCFLAGS'].split ())
             else:
-                conf.env.append_value ('CCFLAGS', '-DG_DISABLE_CHECKS')
+                conf.env.append_value ('CCFLAGS', '-DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT'.split ())
         elif debug_level == 'debug':
             conf.env.append_value ('CCFLAGS', '-Wall -O0 -g'.split ())
         elif debug_level == 'full':



More information about the Xfce4-commits mailing list