remove -pedantic flag, it seems to break non cvs SDL_net

This commit is contained in:
Jérémy Rosen 2006-01-07 11:34:59 +00:00
parent 6afa431c8e
commit b4d4b9db12

View file

@ -56,11 +56,15 @@ AC_PROG_RANLIB
AC_ARG_ENABLE([debug],
AS_HELP_STRING([--enable-debug], [enable debug in wesnoth]),
[if test "x${enableval}" = "xyes" ; then
CXXFLAGS="$CXXFLAGS -DDEBUG -O0 -ggdb3 -Wextra -Wall -ansi -pedantic" ;
else
CXXFLAGS="$CXXFLAGS -Wextra -Wall -ansi -pedantic" ;
fi])
[debug=$enableval],
[debug=no])
if test "x$debug" = "xyes"
then
CXXFLAGS="$CXXFLAGS -DDEBUG -O0 -ggdb3 -Wextra -Wall -ansi "
else
CXXFLAGS="$CXXFLAGS -Wextra -Wall -ansi "
fi
AC_ARG_ENABLE([static],
AS_HELP_STRING([--enable-static], [enable static building of wesnoth]),