wafsamba: Add missing cflags_end argument to SAMBA_BINARY
[metze/samba/wip.git] / buildtools / wafsamba / wafsamba.py
index 1f5679395053fd8891388ca5ffeb5f8e4711b4a6..12d5421c4a63c06c6feaa5fb04410a2030f0ef4d 100644 (file)
@@ -353,6 +353,7 @@ def SAMBA_BINARY(bld, binname, source,
                  modules=None,
                  ldflags=None,
                  cflags='',
+                 cflags_end=None,
                  autoproto=None,
                  use_hostcc=False,
                  use_global_deps=True,
@@ -410,6 +411,7 @@ def SAMBA_BINARY(bld, binname, source,
                         deps           = deps,
                         includes       = includes,
                         cflags         = pie_cflags,
+                        cflags_end     = cflags_end,
                         group          = subsystem_group,
                         autoproto      = autoproto,
                         subsystem_name = subsystem_name,