diff options
author | Paweł Kołodziejski | 2005-10-26 17:39:23 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2005-10-26 17:39:23 +0000 |
commit | a9a07a5965fe6a2d5ede121fe2ceca5c8fd5a4cd (patch) | |
tree | 526ecb5d4c8609c2b481fa1b2b795ca7cf81d73e | |
parent | 1ab6688d24a7ffeea48bc2d6ab384e3504027d40 (diff) | |
download | scummvm-rg350-a9a07a5965fe6a2d5ede121fe2ceca5c8fd5a4cd.tar.gz scummvm-rg350-a9a07a5965fe6a2d5ede121fe2ceca5c8fd5a4cd.tar.bz2 scummvm-rg350-a9a07a5965fe6a2d5ede121fe2ceca5c8fd5a4cd.zip |
applied patch #1331972 + changaed deprecated option to new one in -tail-
svn-id: r19314
-rwxr-xr-x | configure | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -544,7 +544,7 @@ fi echocheck "compiler version" -cxx_name=`( $cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1` +cxx_name=`( $cc -v ) 2>&1 | tail -n 1 | cut -d ' ' -f 1` cxx_version=`( $CXX -dumpversion ) 2>&1` if test "$?" -gt 0; then cxx_version="not found" @@ -690,6 +690,16 @@ if test -n "$_host"; then type_2_byte='short' type_4_byte='int' ;; + arm-linux) + echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" + DEFINES="$DEFINES -DUNIX" + #not true for all ARM systems, but the interesting ones are all LE. Most (if not all) BE arm devices don't have a screen + _def_endianness='#define SCUMM_LITTLE_ENDIAN' + _def_align='#define SCUMM_NEED_ALIGNMENT' + type_1_byte='char' + type_2_byte='short' + type_4_byte='int' + ;; ppc-amigaos) echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" _def_endianness='#define SCUMM_BIG_ENDIAN' |