]> spindle.queued.net Git - midori/commitdiff
Enable Vala debug symbols and disable deprecations
authorChristian Dywan <christian@twotoasts.de>
Wed, 19 Oct 2011 07:01:28 +0000 (09:01 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 19 Oct 2011 07:01:28 +0000 (09:01 +0200)
wscript

diff --git a/wscript b/wscript
index c7b616b20685c1b8b23c905897acafb99082bced..8d66022bc00865be4321533844a2aeeda0f9650f 100644 (file)
--- a/wscript
+++ b/wscript
@@ -301,9 +301,12 @@ def configure (conf):
                 '-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED '
                 '-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE'.split ())
     if debug_level == 'full':
-        conf.env.append_value ('VALAFLAGS', '--enable-checking'.split ())
+        conf.env.append_value ('VALAFLAGS', '--debug --enable-checking'.split ())
+    elif debug_level == 'debug':
+        conf.env.append_value ('VALAFLAGS', '--debug'.split ())
     elif debug_level == 'none':
         conf.env.append_value ('VALAFLAGS', '--disable-assert')
+    conf.env.append_value ('VALAFLAGS', '--enable-deprecated')
     print ('''
         Localization:        %(nls)s (intltool)
         Icon optimizations:  %(icons)s (rsvg-convert)