Updating branch refs/heads/master
to 05dd4b963af08f5fbbcb8b17fd0283aa60f5f37c (commit)
from f24bc315e21c6787ed1d3f96e5c9a756871c9ceb (commit)
commit 05dd4b963af08f5fbbcb8b17fd0283aa60f5f37c
Author: Christian Dywan <[email protected]>
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':
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits