diff -Naur sexypsf.orig/Linux/Makefile sexypsf/Linux/Makefile --- sexypsf.orig/Linux/Makefile 2004-09-01 22:18:44.000000000 -0700 +++ sexypsf/Linux/Makefile 2004-10-07 16:42:22.932199622 -0700 @@ -8,8 +8,7 @@ RM = rm -f STRIP = strip -OPTIMIZE = -O2 -fomit-frame-pointer -finline-functions -ffast-math -FLAGS = -g -D__LINUX__ -DPSS_STYLE=1 +FLAGS = -g -D__LINUX__ -DPSS_STYLE=1 -fPIC #-DTIMEO LIBS = -lz @@ -20,7 +19,7 @@ OBJS+= LnxMain.o -CFLAGS = -Wall -Winline ${OPTIMIZE} -I. -I.. ${FLAGS} +CFLAGS = -Wall -Winline -I. -I.. ${FLAGS} #CFLAGS+= $(shell pkg-config gtk+-2.0 --cflags) sexypsf: ${OBJS} diff -Naur sexypsf.orig/xmms/Makefile sexypsf/xmms/Makefile --- sexypsf.orig/xmms/Makefile 2004-09-01 13:43:13.000000000 -0700 +++ sexypsf/xmms/Makefile 2004-10-07 16:43:08.155808251 -0700 @@ -12,7 +12,6 @@ RM = rm -f #LD = ld -shared LIBS = -lz -shared $(shell gtk-config --libs) -OPTIMIZE = -O2 -finline-functions -ffast-math -FLAGS = -DPSS_STYLE=1 -DSPSFVERSION="\"${VERSION}\"" +FLAGS = -DPSS_STYLE=1 -DSPSFVERSION="\"${VERSION}\"" -fPIC OBJS = ../PsxBios.o ../PsxCounters.o ../PsxDma.o \ @@ -22,10 +21,6 @@ OBJS+= xmms.o -ifeq (${CPU}, ix86) - OPTIMIZE += -fomit-frame-pointer -mcpu=i686 -fno-exceptions -endif - ifeq (${CPU}, ppc) FLAGS+=-DMSB_FIRST endif @@ -34,7 +29,7 @@ FLAGS+=-DMSB_FIRST endif -CFLAGS = -Wall ${OPTIMIZE} -I. -I.. -I/usr/include/g++ ${FLAGS} +CFLAGS = -Wall -I. -I.. -I/usr/include/g++ ${FLAGS} CFLAGS+= $(shell gtk-config --cflags) #ifdef LD