diff options
Diffstat (limited to 'games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch')
-rw-r--r-- | games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch b/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch new file mode 100644 index 000000000000..7ba703b4090b --- /dev/null +++ b/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch @@ -0,0 +1,20 @@ +--- src/Makefile.orig 2002-09-22 12:47:57.000000000 -0400 ++++ src/Makefile 2003-08-14 01:38:09.610424944 -0400 +@@ -3,7 +3,7 @@ + BUILD = 6 + PLUGIN = libpadXwin-${VERSION}.${BUILD}.so + CFG = cfgPadXwin +-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer ++CFLAGS = -fPIC -Wall $(OPTFLAGS) + OBJECTS = pad.o + CFGOBJS = conf.o interface.o support.o + LIBS = -lX11 +@@ -14,7 +14,7 @@ + + plugin: ${OBJECTS} + rm -f ${PLUGIN} +- gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS} ++ gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS} ${CFGLIBS} + strip --strip-unneeded --strip-debug ${PLUGIN} + + cfg: ${CFGOBJS} |