summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-11-04 14:42:24 +1300
committerAndreas Schneider <asn@cryptomilk.org>2019-11-13 08:42:30 +0000
commitdc5db1e8d819f442060015bc93a132cc4b3f7ad9 (patch)
tree020b3d0f3e359fddd4d23263e759e228ee046a3f /buildtools
parent92ce387ed0e02bc3ebc673bcfd7ffbb55c04f57d (diff)
downloadsamba-dc5db1e8d819f442060015bc93a132cc4b3f7ad9.tar.gz
heimdal_build: Recurse to bld.SAMBA_BINARY()
This reduces a little of the duplication added when it was thought that having a distinct waf wrapper on heimdal might allow this to be ported upstream. It will also streamline building a dedicated fuzzing mode in Samba. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/wafsamba.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 48e56493489..7081f382eaa 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -354,6 +354,7 @@ def SAMBA_BINARY(bld, binname, source,
local_include=True,
global_include=True,
subsystem_name=None,
+ allow_warnings=False,
pyembed=False,
vars=None,
subdir=None,
@@ -382,6 +383,8 @@ def SAMBA_BINARY(bld, binname, source,
if group == 'binaries':
subsystem_group = 'main'
+ elif group == 'build_compilers':
+ subsystem_group = 'compiler_libraries'
else:
subsystem_group = group
@@ -410,6 +413,7 @@ def SAMBA_BINARY(bld, binname, source,
global_include = global_include,
use_hostcc = use_hostcc,
pyext = pyembed,
+ allow_warnings = allow_warnings,
use_global_deps= use_global_deps)
bld.SET_BUILD_GROUP(group)