aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-02-07 15:23:27 +0000
committerJordi Vilalta Prat2008-02-07 15:23:27 +0000
commit902374fac6acdb82ddefbdcb2aecd5d2f7b5d473 (patch)
treec4b9f603a280a46dc445a494f7602030ed11bc82
parent0657ef6a80d921afcc48b67853f5efffa4ea8f21 (diff)
downloadscummvm-rg350-902374fac6acdb82ddefbdcb2aecd5d2f7b5d473.tar.gz
scummvm-rg350-902374fac6acdb82ddefbdcb2aecd5d2f7b5d473.tar.bz2
scummvm-rg350-902374fac6acdb82ddefbdcb2aecd5d2f7b5d473.zip
Enhanced tools detection when crosscompiling with mingw32 and removed dupplicate options
svn-id: r30816
-rwxr-xr-xconfigure13
1 files changed, 5 insertions, 8 deletions
diff --git a/configure b/configure
index 906d4bf1c2..db8efa4c27 100755
--- a/configure
+++ b/configure
@@ -1078,20 +1078,17 @@ if test -n "$_host"; then
_ranlib=m68k-atari-mint-ranlib
_ar="m68k-atari-mint-ar cru"
;;
- i586-mingw32msvc)
+ *mingw32*)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
- DEFINES="$DEFINES -DWIN32"
_endian=little
_have_x86=yes
type_1_byte='char'
type_2_byte='short'
type_4_byte='int'
- _sdlconfig=i586-mingw32msvc-sdl-config
- _windres=i586-mingw32msvc-windres
- _ar="i586-mingw32msvc-ar cru"
- _ranlib=i586-mingw32msvc-ranlib
- LIBS="$LIBS -lmingw32 -lwinmm"
- OBJS="$OBJS scummvmico.o"
+ _sdlconfig=$_host-sdl-config
+ _windres=$_host-windres
+ _ar="$_host-ar cru"
+ _ranlib=$_host-ranlib
;;
iphone)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"