mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-21 19:51:18 +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
|
||||
|
||||
if test ${AR-unset} = unset; then
|
||||
AR="ar"
|
||||
fi
|
||||
endian=""
|
||||
case "$host_os" in
|
||||
mingw32*)
|
||||
|
@ -38,11 +41,14 @@ case "$host_os" in
|
|||
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32"
|
||||
CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32/resources"
|
||||
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"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(AR)
|
||||
|
||||
dnl ==================================================================
|
||||
dnl Checks for programs.
|
||||
|
|
|
@ -32,7 +32,7 @@ AUTOMAKE_OPTIONS= foreign
|
|||
# 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)
|
||||
|
||||
AR=@AR@
|
||||
bin_PROGRAMS = @TARGETS@
|
||||
|
||||
EXTRA_PROGRAMS= qf-server \
|
||||
|
|
Loading…
Reference in a new issue