summaryrefslogtreecommitdiff
path: root/source4/lib/events/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/events/config.mk')
-rw-r--r--source4/lib/events/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/events/config.mk b/source4/lib/events/config.mk
index e4b5f40571..3e5a5e2a2f 100644
--- a/source4/lib/events/config.mk
+++ b/source4/lib/events/config.mk
@@ -58,3 +58,5 @@ PRIVATE_DEPENDENCIES = LIBEVENTS LIBSAMBA-HOSTCONFIG
swig_events_OBJ_FILES = $(libeventssrcdir)/events_wrap.o
$(eval $(call python_py_module_template,events.py,$(libeventssrcdir)/events.py))
+
+$(swig_events_OBJ_FILES): CFLAGS+="$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)"