File spu.dif of Package psx-plugins
--- src/Makefile
+++ src/Makefile
@@ -1,7 +1,7 @@
VERSION = 1.6
PLUGIN = libspu-${VERSION}.so
-CFLAGS+= -fPIC -Wall -O2 -fomit-frame-pointer -D_REENTRANT
+CFLAGS+= -fPIC -Wall $(RPM_OPT_FLAGS) -fomit-frame-pointer -D_REENTRANT
OBJECTS = spu.o vagdepack.o
LIBS = -lpthread $(shell gtk-config --libs)
CFLAGS+= $(shell gtk-config --cflags)
@@ -11,7 +11,6 @@
plugin: ${OBJECTS}
rm -f ${PLUGIN}
gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS}
- strip --strip-unneeded --strip-debug ${PLUGIN}
clean:
rm -f *.o *.so