summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/python.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/python.mk')
-rw-r--r--source4/lib/tdb/python.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk
index 51074c8576..1be237186f 100644
--- a/source4/lib/tdb/python.mk
+++ b/source4/lib/tdb/python.mk
@@ -5,3 +5,6 @@ PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o
$(eval $(call python_py_module_template,tdb.py,lib/tdb/tdb.py))
+
+$(swig_tdb_OBJ_FILES): CFLAGS+="$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)"
+