mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
Revert addition of PERL_GCC_PEDANTIC to CFLAGS
Brian and I decided to handle this by just stripping -ansi -pedantic
from the mod_perl build instead.
Revert "Since we can't tell if the system perl was built with
pedantic, we have a problem because we default debug enabled which
uses AX_CFLAGS_WARN_ALL_ANSI, For the GNU CC compiler it will be
-Wall (and -ansi -pedantic) The result is added to the shellvar being
CFLAGS by default. Which then gets included for building mod_perl,
Either way I think this is the correct corse of action to overcome
these new builds of mod_perl."
This reverts commit cb94340e26.
This commit is contained in:
@@ -464,7 +464,6 @@ if test "${enable_debug}" = "yes"; then
|
||||
CFLAGS="$saved_CFLAGS"
|
||||
|
||||
if test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
|
||||
APR_ADDTO(SWITCH_PERL_CPPFLAGS, -DPERL_GCC_PEDANTIC)
|
||||
APR_ADDTO(SWITCH_AM_CFLAGS, -g -ggdb)
|
||||
export DEBUG_CFLAGS="-g -ggdb"
|
||||
fi
|
||||
@@ -727,7 +726,6 @@ fi
|
||||
|
||||
AC_SUBST(SWITCH_AM_CFLAGS)
|
||||
AC_SUBST(SWITCH_ANSI_CFLAGS)
|
||||
AC_SUBST(SWITCH_PERL_CPPFLAGS)
|
||||
AC_SUBST(SWITCH_AM_CXXFLAGS)
|
||||
AC_SUBST(SWITCH_AM_LDFLAGS)
|
||||
AC_SUBST(ESL_LDFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user