File spunull.dif of Package psx-plugins
--- src/Makefile
+++ src/Makefile
@@ -1,7 +1,7 @@
VERSION = 1.0
PLUGIN = libspunull-${VERSION}.so
-CFLAGS+= -fPIC -Wall -O2 -fomit-frame-pointer
+CFLAGS+= -fPIC -Wall $(RPM_OPT_FLAGS) -fomit-frame-pointer
OBJECTS = spu.o
all: plugin
@@ -9,7 +9,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