diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-21 21:32:53 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-21 21:32:53 +0200 |
commit | 82bcf967b79321706cd19c759ea54c4465fe0d96 (patch) | |
tree | f232350d09fe7f9c520b236191679b283894888e /source4/lib/registry | |
parent | 2914b0ca04355f6f175b603a1de6030b20ce0830 (diff) | |
download | samba-82bcf967b79321706cd19c759ea54c4465fe0d96.tar.gz samba-82bcf967b79321706cd19c759ea54c4465fe0d96.tar.xz samba-82bcf967b79321706cd19c759ea54c4465fe0d96.zip |
Move CFLAGS overrides for SWIG modules to Makefile.
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
Diffstat (limited to 'source4/lib/registry')
-rw-r--r-- | source4/lib/registry/config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk index bb939be0c5..077d96ab30 100644 --- a/source4/lib/registry/config.mk +++ b/source4/lib/registry/config.mk @@ -111,3 +111,5 @@ SWIG_FILE = registry.i swig_registry_OBJ_FILES = $(libregistrysrcdir)/registry_wrap.o $(eval $(call python_py_module_template,registry.py,lib/registry/registry.py)) + +$(swig_registry_OBJ_FILES): CFLAGS+="$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)" |