diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-09 16:39:13 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-08-14 11:58:13 +1000 |
commit | 61930f50cbace4741500d8b53fc11a4ef3e0d4f8 (patch) | |
tree | a87d818511eaccb71480b41a49f68121152470a8 | |
parent | 952ef310b5e96fe2529562d4bb288f313be62e8a (diff) | |
download | samba-61930f50cbace4741500d8b53fc11a4ef3e0d4f8.tar.gz samba-61930f50cbace4741500d8b53fc11a4ef3e0d4f8.tar.bz2 samba-61930f50cbace4741500d8b53fc11a4ef3e0d4f8.zip |
waf: enable gccdeps in developer mode
there are some bugs in the waf builtin preproc this that avoids
-rw-r--r-- | buildtools/wafsamba/wscript | 5 |
1 files 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 |