build: Remove obsolete gcc flag when building on Windows

The -mno-cygwin parameter has been obsolete for quite some time. It is
now gone in recent gcc version, causing an error when you try to use it.

My understanding that gcc now does the right thing automatically.
This commit is contained in:
Bertrand Lorentz 2014-02-23 16:41:07 +01:00
parent 2fcd276b9c
commit 84993d237f

View File

@ -27,7 +27,7 @@ case "$host" in
AC_MSG_RESULT([yes, 64-bit])
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
if test "x$cross_compiling" = "xno"; then
CC="gcc -mno-cygwin -g"
CC="gcc -g"
HOST_CC="gcc"
fi
;;
@ -36,7 +36,7 @@ case "$host" in
AC_MSG_RESULT([yes, 32-bit])
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
if test "x$cross_compiling" = "xno"; then
CC="gcc -mno-cygwin -g"
CC="gcc -g"
HOST_CC="gcc"
fi
;;