From 61930f50cbace4741500d8b53fc11a4ef3e0d4f8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 9 Aug 2010 16:39:13 +1000 Subject: waf: enable gccdeps in developer mode there are some bugs in the waf builtin preproc this that avoids --- buildtools/wafsamba/wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index bad65cac24..bf301d2da5 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -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 -- cgit