summaryrefslogtreecommitdiff
path: root/source/lib/events
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-21 21:32:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-21 21:32:53 +0200
commit58665a8a8e4b10435aebbf2c95b6a8e50db232d6 (patch)
treeba9c0585cf6ff937b9424c9afc968e0b60c5388b /source/lib/events
parentb865249efaa58d0fc87fa25491fda3b970af81c3 (diff)
downloadsamba-58665a8a8e4b10435aebbf2c95b6a8e50db232d6.tar.gz
Move CFLAGS overrides for SWIG modules to Makefile.
Diffstat (limited to 'source/lib/events')
-rw-r--r--source/lib/events/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/events/config.mk b/source/lib/events/config.mk
index e4b5f40571f..3e5a5e2a2f8 100644
--- a/source/lib/events/config.mk
+++ b/source/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)"