diff options
author | Max Horn | 2005-05-09 21:21:21 +0000 |
---|---|---|
committer | Max Horn | 2005-05-09 21:21:21 +0000 |
commit | 52bbc867979b1453f98191718c3eca726cc9ff8e (patch) | |
tree | 4bf1084cc670b2fff715916420c604684fa81135 /configure | |
parent | 1c6788797ee3a5f4790ae1e42fa9321478f62c60 (diff) | |
download | scummvm-rg350-52bbc867979b1453f98191718c3eca726cc9ff8e.tar.gz scummvm-rg350-52bbc867979b1453f98191718c3eca726cc9ff8e.tar.bz2 scummvm-rg350-52bbc867979b1453f98191718c3eca726cc9ff8e.zip |
Patch #1181544 (AmigaOS 4 changes)
svn-id: r18011
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -434,6 +434,10 @@ arm-riscos-aof) _host_os=riscos _host_cpu=arm ;; +ppc-amigaos) + _host_os=amigaos + _host_cpu=ppc + ;; *) guessed_host=`$_srcdir/config.guess` _host_cpu=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` @@ -613,6 +617,16 @@ if test -n "$_host"; then 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' + _def_align='#define SCUMM_NEED_ALIGNMENT' + type_1_byte='char' + type_2_byte='short' + type_4_byte='long' + CXXFLAGS="$CFLAGS -newlib -mstrict-align -mcpu=750 -mtune=7400" + LDFLAGS="$LDFLAGS -newlib" + ;; *) echo "Cross-compiling to unknown target, please add your target to configure." exit 1 |