mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
fixes to get qf to compile cygwin->mingw32
This commit is contained in:
parent
5e6f77cddb
commit
284da345ef
1 changed files with 9 additions and 5 deletions
14
configure.ac
14
configure.ac
|
@ -65,12 +65,16 @@ case "$host_os" in
|
||||||
AS="$CC"
|
AS="$CC"
|
||||||
AR="$host_cpu_$host_os-ar"
|
AR="$host_cpu_$host_os-ar"
|
||||||
RANLIB="$host_cpu-$host_os-ranlib"
|
RANLIB="$host_cpu-$host_os-ranlib"
|
||||||
case "$target" in
|
endian="little"
|
||||||
*mingw32)
|
fi
|
||||||
|
if test "$host" != "$target"; then
|
||||||
|
case "$target_os" in
|
||||||
|
mingw32*)
|
||||||
mingw=yes
|
mingw=yes
|
||||||
CFLAGS="$CFLAGS -mno-cygwin -mwindows"
|
CPPFLAGS="$CPPFLAGS -mno-cygwin -mwindows"
|
||||||
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32"
|
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32"
|
||||||
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32/resources"
|
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32/resources"
|
||||||
|
LDFLAGS="$LDFLAGS -mno-cygwin -mwindows"
|
||||||
endian="little"
|
endian="little"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue