Make sure the build process respects our LDFLAGS (so we can slip in -m32) and that the stupid custom OPTIMIZE flags arent used in favor of our own CFLAGS (so we can slip in -m32). --- snes9x-1.5-src/Makefile.in +++ snes9x-1.5-src/Makefile.in @@ -17,4 +17,5 @@ CHEATS=1 2XSAI=1 +EXTRALIBS=@LDFLAGS@ #Fairly good and special-char-safe descriptor of the os being built on. @@ -188,5 +189,5 @@ CPUFLAGS=-ml -m4-single-only else -OPTIMISE = @OPTIMIZE@ +OPTIMISE = @CFLAGS@ endif @@ -244,6 +244,7 @@ else OFFSET= endif +OFFSET=$(CPU)/offsets.h offsets: offsets.o $(CCC) $(INCLUDES) -o $@ offsets.o