summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/wafsamba.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index e2d8052bc9..55ae36a247 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -197,7 +197,7 @@ def SAMBA_BINARY(bld, binname, source,
ldflags=None,
cflags='',
autoproto=None,
- use_hostcc=None,
+ use_hostcc=False,
compiler=None,
group='binaries',
manpages=None,
@@ -232,7 +232,8 @@ def SAMBA_BINARY(bld, binname, source,
autoproto = autoproto,
subsystem_name = subsystem_name,
needs_python = needs_python,
- local_include = local_include)
+ local_include = local_include,
+ use_hostcc = use_hostcc)
bld.SET_BUILD_GROUP(group)
@@ -357,6 +358,7 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
local_include_first=True,
subsystem_name=None,
enabled=True,
+ use_hostcc=False,
vars=None,
needs_python=False):
'''define a Samba subsystem'''
@@ -393,7 +395,8 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
samba_includes = includes,
local_include = local_include,
local_include_first = local_include_first,
- samba_subsystem= subsystem_name
+ samba_subsystem= subsystem_name,
+ samba_use_hostcc = use_hostcc
)
if cflags_end is not None: