waf: enable gccdeps in developer mode
authorAndrew Tridgell <tridge@samba.org>
Mon, 9 Aug 2010 06:39:13 +0000 (16:39 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 14 Aug 2010 01:58:13 +0000 (11:58 +1000)
there are some bugs in the waf builtin preproc this that avoids

buildtools/wafsamba/wscript

index bad65cac245e2a92f3bcb623c5e821a7e94bb65d..bf301d2da51935e26103311df497274d89be0a10 100644 (file)
@@ -160,8 +160,9 @@ def configure(conf):
     # we need git for 'waf dist'
     conf.find_program('git', var='GIT')
 
-    if Options.options.enable_gccdeps:
-        # don't enable gccdeps by default as it needs a very recent version gcc
+    if Options.options.enable_gccdeps or Options.options.developer:
+        # don't enable gccdeps by default for non-developer builds
+        # as it needs a very recent version gcc
         conf.check_tool('gccdeps', tooldir=conf.srcdir + "/buildtools/wafsamba")
 
     # make the install paths available in environment