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). --- Makefile.in.old 2006-06-30 08:40:56.000000000 -0500 +++ Makefile.in 2006-08-07 09:42:27.000000000 -0500 @@ -16,6 +16,7 @@ @DREAMCAST@ CHEATS=1 2XSAI=1 +EXTRALIBS=@LDFLAGS@ #Fairly good and special-char-safe descriptor of the os being built on. OS=`uname -s -r -m|sed \"s/ /-/g\"|tr \"[A-Z]\" \"[a-z]\"|tr \"/()\" \"___\"` @@ -187,7 +188,7 @@ OPTIMISE=-O4 -ffreestanding -ffast-math -fschedule-insns2 -fomit-frame-pointer -fno-inline-functions -fno-defer-pop -fforce-addr -fstrict-aliasing -funroll-loops -fdelete-null-pointer-checks -fno-exceptions CPUFLAGS=-ml -m4-single-only else -OPTIMISE = @OPTIMIZE@ +OPTIMISE = @CFLAGS@ endif DEFS += \ @@ -245,8 +246,8 @@ OFFSET= endif -offsets: offsets.o - $(CCC) $(INCLUDES) -o $@ offsets.o +offsets: offsets.cpp + $(CCC) $(EXTRALIBS) $(INCLUDES) -o $@ offsets.cpp ./offsets >$(CPU)/offsets.h #../zlib/libz.a: