From: Travis Cross Date: Wed, 19 Mar 2014 20:59:30 +0000 (+0000) Subject: Make sure -w is set in mod_perl CXXFLAGS X-Git-Tag: v1.5.12~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=962eaaeae80dd9ad05946163e58fc0d9ec9daa34;p=thirdparty%2Ffreeswitch.git Make sure -w is set in mod_perl CXXFLAGS Autogenerated bits of the code warn when building which would otherwise break the build. --- diff --git a/src/mod/languages/mod_perl/Makefile.am b/src/mod/languages/mod_perl/Makefile.am index f42a02ebb7..07fbc80dec 100644 --- a/src/mod/languages/mod_perl/Makefile.am +++ b/src/mod/languages/mod_perl/Makefile.am @@ -9,6 +9,7 @@ mod_LTLIBRARIES = mod_perl.la perl_LTLIBRARIES = freeswitch.la mod_perl_la_SOURCES = mod_perl.c freeswitch_perl.cpp mod_perl_wrap.cpp perlxsi.c mod_perl_la_CFLAGS = $(AM_CFLAGS) -w +mod_perl_la_CXXFLAGS = $(AM_CXXFLAGS) -w mod_perl_la_CPPFLAGS = -DMULTIPLICITY `$(PERL) -MExtUtils::Embed -e ccopts` -DEMBED_PERL -I$(switch_srcdir)/libs/libteletone/src/ mod_perl_la_LIBADD = $(switch_builddir)/libfreeswitch.la mod_perl_la_LDFLAGS = -avoid-version -module -no-undefined -shared `$(PERL) -MExtUtils::Embed -e ldopts` `$(PERL) -MConfig -e 'print $$Config{libs}'`