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-861f7616d084master
parent
077433f02f
commit
9567ce6391
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue