diff --git a/modules/Makefile.in b/modules/Makefile.in index 4deb513a..110838fd 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -44,8 +44,8 @@ endif ifneq "$(PERL)" "" # We execute this now so that we see the 'beauty' of these flags in make's output modperlFLAGS := $(shell $(PERL) -MExtUtils::Embed -e perl_inc -e ldopts) -# Perl API is ugly, casting string literals to char* :( -modperlFLAGS += -Wno-write-strings +# Perl API is ugly, casting string literals to char* and redeclaring functions :( +modperlFLAGS += -Wno-write-strings -Wno-redundant-decls PERLHOOK := modperl_install else FILES := $(shell echo $(FILES) | sed -e "s/modperl//")