From 82bcf967b79321706cd19c759ea54c4465fe0d96 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 May 2008 21:32:53 +0200 Subject: Move CFLAGS overrides for SWIG modules to Makefile. (This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6) --- source4/auth/config.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/auth/config.mk') diff --git a/source4/auth/config.mk b/source4/auth/config.mk index 0162653076..78a267ced1 100644 --- a/source4/auth/config.mk +++ b/source4/auth/config.mk @@ -44,3 +44,5 @@ SWIG_FILE = auth.i $(eval $(call python_py_module_template,auth.py,$(authsrcdir)/auth.py)) swig_auth_OBJ_FILES = $(authsrcdir)/auth_wrap.o + +$(swig_auth_OBJ_FILES): CFLAGS+="$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)" -- cgit