diff -Naur xmame-0.58.1-orig/makefile.unix xmame-0.58.1/makefile.unix --- xmame-0.58.1-orig/makefile.unix 2002-02-06 03:33:32.000000000 +0000 +++ xmame-0.58.1/makefile.unix 2006-10-04 21:58:28.000000000 +0000 @@ -88,7 +88,7 @@ # causing narc (and possibly other games) to segfault. # ### for normal optimization, full warnings -CFLAGS = -O -Wall +CFLAGS = -"mcpu=arm926ej-s" -mapcs -fstrict-aliasing -ffast-math -Wall ### for common optimizations, full warnings except unused vars # CFLAGS = -O2 -Wall -Wno-unused ### this should work with all compilers @@ -218,7 +218,7 @@ ############################################################################## ### i386 + gnu-asm -MY_CPU = i386 +MY_CPU = arm ### i386 no asm -- needed for the Intel C++ Compiler which does not fully # understand gcc's inline assembly syntax (you may still enable X86_ASM_68000 # etc. which are assembled by NASM). You may also need to use this for BeOS. @@ -297,7 +297,7 @@ # SOUND_ALSA = 1 # SOUND_ARTS_TEIRA = 1 # SOUND_ARTS_SMOTEK = 1 -# SOUND_SDL= 1 +SOUND_SDL= 1 ############################################################################## @@ -307,7 +307,7 @@ ############################################################################## ### X11 -DISPLAY_METHOD = x11 +# DISPLAY_METHOD = x11 ### svgalib, only supported under linux # DISPLAY_METHOD = svgalib ### ggi, only tested under linux @@ -321,7 +321,7 @@ ### OpenStep bitmaps # DISPLAY_METHOD = openstep ### SDL library -# DISPLAY_METHOD = SDL +DISPLAY_METHOD = SDL ### Photon 2.x (QNX6), currently buggy but working... # DISPLAY_METHOD = photon2 diff -Naur xmame-0.58.1-orig/src/unix/unix.mak xmame-0.58.1/src/unix/unix.mak --- xmame-0.58.1-orig/src/unix/unix.mak 2002-02-06 03:33:30.000000000 +0000 +++ xmame-0.58.1/src/unix/unix.mak 2006-10-04 20:38:13.000000000 +0000 @@ -18,6 +18,7 @@ CFLAGS.m68k = CFLAGS.risc = -DALIGN_INTS -DALIGN_SHORTS CFLAGS.risc_lsb = -DALIGN_INTS -DALIGN_SHORTS -DLSB_FIRST +CFLAGS.arm = -DALIGN_INTS -DALIGN_SHORTS -DLSB_FIRST CFLAGS.mips = -DALIGN_INTS -DALIGN_SHORTS -DSGI_FIX_MWA_NOP ##############################################################################