summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorUri Simchoni <uri@samba.org>2017-11-19 11:30:56 +0000
committerAndrew Bartlett <abartlet@samba.org>2017-11-22 10:20:20 +0100
commit98813a605d51ce42ecee0d8c5c2de82ef1566aed (patch)
treedab31a7900d88410a516e35da9b8118244c7f6ac /buildtools
parent3cca62a2ac17f7ae0571f7ca7976e1a8bb42211b (diff)
downloadsamba-98813a605d51ce42ecee0d8c5c2de82ef1566aed.tar.gz
build: allow passing custom cflags to end of library build
Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 23fd3c48342..4bb19d070e2 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -112,6 +112,7 @@ def SAMBA_LIBRARY(bld, libname, source,
vnum=None,
soname=None,
cflags='',
+ cflags_end=None,
ldflags='',
external_library=False,
realname=None,
@@ -195,6 +196,7 @@ def SAMBA_LIBRARY(bld, libname, source,
private_headers= private_headers,
header_path = header_path,
cflags = cflags,
+ cflags_end = cflags_end,
group = subsystem_group,
autoproto = autoproto,
autoproto_extra_source=autoproto_extra_source,