aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-01-13 13:55:30 +0000
committerMax Horn2007-01-13 13:55:30 +0000
commitbad2b283c12e09eaa3c72f9ca67913b2a14afd03 (patch)
tree7110ae470b6a55c8a122431be0f7ca2b80c17de9
parent3efe809e830f4a8563bef7bca761a53f4a95e110 (diff)
downloadscummvm-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
-rwxr-xr-xconfigure15
1 files changed, 13 insertions, 2 deletions
diff --git a/configure b/configure
index 5de1ea7fd3..1a52528953 100755
--- a/configure
+++ b/configure
@@ -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
*)