summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 17:47:31 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:51 +1000
commit64a528efee86379c4709b8d1ac6c8eff679ca8a1 (patch)
tree97cbf3e6248d9481a8be6049467dfe1bfb83c2eb /buildtools
parente9ef5cb091e7861295692dbedefc1761c2eccf87 (diff)
downloadsamba-64a528efee86379c4709b8d1ac6c8eff679ca8a1.tar.gz
samba-64a528efee86379c4709b8d1ac6c8eff679ca8a1.tar.bz2
samba-64a528efee86379c4709b8d1ac6c8eff679ca8a1.zip
build: added a cflags_end SAMBA_SUBSYSTEM() option
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 194aa58b25..6cdcc35dd4 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -221,6 +221,7 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
includes='',
public_headers=None,
cflags='',
+ cflags_end=None,
group='main',
config_option=None,
init_function_sentinal=None,
@@ -269,6 +270,9 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
samba_subsystem= subsystem_name
)
+ if cflags_end is not None:
+ t.samba_cflags.extend(TO_LIST(cflags_end))
+
if heimdal_autoproto is not None:
bld.HEIMDAL_AUTOPROTO(heimdal_autoproto, source, options=heimdal_autoproto_options)
if heimdal_autoproto_private is not None: