fixes to get qf to compile cygwin->mingw32

This commit is contained in:
Chris Ison 2001-10-02 01:53:26 +00:00
parent 5e6f77cddb
commit 284da345ef

View file

@ -65,12 +65,16 @@ case "$host_os" in
AS="$CC"
AR="$host_cpu_$host_os-ar"
RANLIB="$host_cpu-$host_os-ranlib"
case "$target" in
*mingw32)
endian="little"
fi
if test "$host" != "$target"; then
case "$target_os" in
mingw32*)
mingw=yes
CFLAGS="$CFLAGS -mno-cygwin -mwindows"
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32"
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32/resources"
CPPFLAGS="$CPPFLAGS -mno-cygwin -mwindows"
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32"
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32/resources"
LDFLAGS="$LDFLAGS -mno-cygwin -mwindows"
endian="little"
;;
esac