diff options
author | Max Horn | 2007-01-13 13:55:30 +0000 |
---|---|---|
committer | Max Horn | 2007-01-13 13:55:30 +0000 |
commit | bad2b283c12e09eaa3c72f9ca67913b2a14afd03 (patch) | |
tree | 7110ae470b6a55c8a122431be0f7ca2b80c17de9 /configure | |
parent | 3efe809e830f4a8563bef7bca761a53f4a95e110 (diff) | |
download | scummvm-rg350-bad2b283c12e09eaa3c72f9ca67913b2a14afd03.tar.gz scummvm-rg350-bad2b283c12e09eaa3c72f9ca67913b2a14afd03.tar.bz2 scummvm-rg350-bad2b283c12e09eaa3c72f9ca67913b2a14afd03.zip |
Patch #1610370: Configure patch for cross compiling Atari Version
svn-id: r25072
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -737,6 +737,18 @@ if test -n "$_host"; then CXXFLAGS="$CFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400" LDFLAGS="$LDFLAGS -mcrt=newlib" ;; + m68k-atari-mint) + echo "Cross-compiling to $_host, forcing endianness, +alignment and type sizes" + DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" + _def_endianness='#define SCUMM_BIG_ENDIAN' + _def_align='#define SCUMM_NEED_ALIGNMENT' + type_1_byte='char' + type_2_byte='short' + type_4_byte='long' + _ranlib=m68k-atari-mint-ranlib + _ar=m68k-atari-mint-ar + ;; *) echo "Cross-compiling to unknown target $_host, please add your target to configure." exit 1 @@ -779,8 +791,7 @@ else DEFINES="$DEFINES -DUNIX" ;; mint*) - DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" - CXXFLAGS="$CXXFLAGS -m68020-60 -fomit-frame-pointer" + DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" ;; # given this is a shell script assume some type of unix *) |