From 64a528efee86379c4709b8d1ac6c8eff679ca8a1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 17:47:31 +1100 Subject: build: added a cflags_end SAMBA_SUBSYSTEM() option --- buildtools/wafsamba/wafsamba.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buildtools/wafsamba') 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: -- cgit