Ticket #8593: mint-cross.patch
File mint-cross.patch, 1.1 KB (added by , 17 years ago) |
---|
-
configure
old new 737 737 CXXFLAGS="$CFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400" 738 738 LDFLAGS="$LDFLAGS -mcrt=newlib" 739 739 ;; 740 m68k-atari-mint) 741 echo "Cross-compiling to $_host, forcing endianness, 742 alignment and type sizes" 743 DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" 744 _def_endianness='#define SCUMM_BIG_ENDIAN' 745 _def_align='#define SCUMM_NEED_ALIGNMENT' 746 type_1_byte='char' 747 type_2_byte='short' 748 type_4_byte='long' 749 _ranlib=m68k-atari-mint-ranlib 750 _ar=m68k-atari-mint-ar 751 ;; 740 752 *) 741 753 echo "Cross-compiling to unknown target $_host, please add your target to configure." 742 754 exit 1 … … 779 791 DEFINES="$DEFINES -DUNIX" 780 792 ;; 781 793 mint*) 782 DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" 783 CXXFLAGS="$CXXFLAGS -m68020-60 -fomit-frame-pointer" 794 DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" 784 795 ;; 785 796 # given this is a shell script assume some type of unix 786 797 *)