diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-12 09:30:12 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-12 12:31:13 +0200 |
commit | 8a00c566492943972798a96a9e23bc74083902ec (patch) | |
tree | a5d2f800f4d639170b993931e093a0e6539f6699 /buildtools | |
parent | 928fb861507e2abed86258582f27aad7d71b308e (diff) | |
download | samba-8a00c566492943972798a96a9e23bc74083902ec.tar.gz samba-8a00c566492943972798a96a9e23bc74083902ec.tar.bz2 samba-8a00c566492943972798a96a9e23bc74083902ec.zip |
wafsamba: allow passing 'use_hostcc' to SAMBA_SUBSYSTEM()
metze
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 9 |
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: |