change default compile flags to have more warnings
This commit is contained in:
parent
eab9c1533b
commit
271a123e7f
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ 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"
|
||||
CXXFLAGS="$CXXFLAGS -DDEBUG -O0 -ggdb3 -Wextra -Wall -ansi -pedantic" ;
|
||||
else
|
||||
CXXFLAGS="$CXXFLAGS -Wextra -Wall -ansi -pedantic" ;
|
||||
fi])
|
||||
|
||||
AC_ARG_ENABLE([static],
|
||||
|
|
Loading…
Add table
Reference in a new issue