mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 05:21:58 +00:00
cross compilation fixes
This commit is contained in:
parent
2f5e58be2d
commit
294e8b5dea
2 changed files with 8 additions and 2 deletions
|
@ -31,6 +31,9 @@ AC_SUBST(ISODATE)
|
||||||
|
|
||||||
AC_LANG_C
|
AC_LANG_C
|
||||||
|
|
||||||
|
if test ${AR-unset} = unset; then
|
||||||
|
AR="ar"
|
||||||
|
fi
|
||||||
endian=""
|
endian=""
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
mingw32*)
|
mingw32*)
|
||||||
|
@ -38,11 +41,14 @@ case "$host_os" in
|
||||||
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32"
|
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32"
|
||||||
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32/resources"
|
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32/resources"
|
||||||
if test $host != $build; then
|
if test $host != $build; then
|
||||||
CC=$host_cpu-$host_os-gcc
|
CC="$host_cpu-$host_os-gcc"
|
||||||
|
AR="$host_cpu-$host_os-ar"
|
||||||
|
RANLIB="$host_cpu-$host_os-ranlib"
|
||||||
endian="little"
|
endian="little"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
AC_SUBST(AR)
|
||||||
|
|
||||||
dnl ==================================================================
|
dnl ==================================================================
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
|
|
|
@ -32,7 +32,7 @@ AUTOMAKE_OPTIONS= foreign
|
||||||
# Stuff that is common to both client and server
|
# Stuff that is common to both client and server
|
||||||
#
|
#
|
||||||
INCLUDES= -I$(top_srcdir)/include $(GGI_CFLAGS) $(MGL_CFLAGS) $(SVGA_CFLAGS) $(X_CFLAGS) $(GLX_CFLAGS) $(TDFXGL_CFLAGS)
|
INCLUDES= -I$(top_srcdir)/include $(GGI_CFLAGS) $(MGL_CFLAGS) $(SVGA_CFLAGS) $(X_CFLAGS) $(GLX_CFLAGS) $(TDFXGL_CFLAGS)
|
||||||
|
AR=@AR@
|
||||||
bin_PROGRAMS = @TARGETS@
|
bin_PROGRAMS = @TARGETS@
|
||||||
|
|
||||||
EXTRA_PROGRAMS= qf-server \
|
EXTRA_PROGRAMS= qf-server \
|
||||||
|
|
Loading…
Reference in a new issue