Add hack to make ./configure --enable-debug=yes work on 64bit CPUs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1851 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-06-12 18:02:56 +00:00
parent 077433f02f
commit 9567ce6391
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ AC_ARG_ENABLE(debug,
AC_MSG_CHECKING([whether to compile in debug mode])
AC_MSG_RESULT([$enable_debug])
if test "x$enable_debug" = "xyes" ; then
WZ_CFLAGS="${WZ_CFLAGS} -O0 -g -DDEBUG -Wall -Wno-nonnull -Wno-unused-label -Werror"
WZ_CFLAGS="${WZ_CFLAGS} -O0 -g -DDEBUG -Wall -Wno-nonnull -Wno-unused-label -Werror -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"
elif test "x$enable_debug" = "xrelaxed" ; then
WZ_CFLAGS="${WZ_CFLAGS} -g -DDEBUG -Wall -Wextra"
else