[build] Remove -no-cygwin from mingw builds

It seems to have been deprecated. This gets --host builds working,
although some libs don't work properly due to having only dlls and I
guess mingw stuff isn'n on any paths.
This commit is contained in:
Bill Currie 2022-09-19 14:13:16 +01:00
parent ead14d7268
commit fb5477e0ab

View file

@ -8,7 +8,7 @@ case "$host_os" in
if test "x$host" != "x$build"; then
case "$build_os" in
cygwin*)
CFLAGS="$CFLAGS -mno-cygwin -mconsole -D__USE_MINGW_ANSI_STDIO"
CFLAGS="$CFLAGS -mconsole -D__USE_MINGW_ANSI_STDIO"
CPPFLAGS="$CPPFLAGS $CFLAGS"
;;
esac