Ticket #8593: mint-cross.patch

File mint-cross.patch, 1.1 KB (added by SF/keithscr, 17 years ago)

Diff file for Atari/MiNT Configure patch

  • configure

    old new  
    737737                        CXXFLAGS="$CFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400"
    738738                        LDFLAGS="$LDFLAGS -mcrt=newlib"
    739739                        ;;
     740                m68k-atari-mint)
     741                        echo "Cross-compiling to $_host, forcing endianness,
     742alignment 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                        ;;
    740752                *)
    741753                        echo "Cross-compiling to unknown target $_host, please add your target to configure."
    742754                        exit 1
     
    779791                        DEFINES="$DEFINES -DUNIX"
    780792                        ;;
    781793                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"
    784795                        ;;
    785796                # given this is a shell script assume some type of unix
    786797                *)