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/build/smb_build/input.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/build/smb_build') diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index 75a02ca8c2..c4c8f0de13 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -146,8 +146,6 @@ sub check_python($$$) $dirname = "" if $dirname eq "./"; $python->{LIBRARY_REALNAME} = "_$basename.\$(SHLIBEXT)"; - push (@{$python->{CFLAGS}}, "\$(CFLAG_NO_UNUSED_MACROS)"); - push (@{$python->{CFLAGS}}, "\$(CFLAG_NO_CAST_QUAL)"); $python->{INIT_FUNCTION} = "{ (char *)\"_$basename\", init_$basename }"; } else { my $basename = $python->{NAME}; -- cgit