summaryrefslogtreecommitdiff
path: root/games-emulation/psemu-padjoy/files
diff options
context:
space:
mode:
authoreroen2013-03-17 02:10:22 +0100
committereroen2013-03-17 02:10:22 +0100
commit0a6bf51666c163a7b814dca82875916cf2ef48fe (patch)
treeb49e3a08e1b89f35429f182103199ed17bdf0c72 /games-emulation/psemu-padjoy/files
parenta510794c5615dd5051c2de6e69036778179dae00 (diff)
downloaderoen-overlay-0a6bf51666c163a7b814dca82875916cf2ef48fe.tar.gz
eroen-overlay-0a6bf51666c163a7b814dca82875916cf2ef48fe.tar.bz2
eroen-overlay-0a6bf51666c163a7b814dca82875916cf2ef48fe.tar.xz
psemu-padjoy-0.82: multilib build
Diffstat (limited to 'games-emulation/psemu-padjoy/files')
-rw-r--r--games-emulation/psemu-padjoy/files/cc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/games-emulation/psemu-padjoy/files/cc.patch b/games-emulation/psemu-padjoy/files/cc.patch
new file mode 100644
index 00000000..43a2fd50
--- /dev/null
+++ b/games-emulation/psemu-padjoy/files/cc.patch
@@ -0,0 +1,18 @@
+diff -ur padJoy/src/Makefile padJoy.b/src/Makefile
+--- a/padJoy/src/Makefile
++++ b/padJoy/src/Makefile
+@@ -13,14 +13,14 @@
+
+ plugin: ${OBJECTS}
+ rm -f ${PLUGIN}
+- gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} -lpthread
++ ${CC} -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} -lpthread
+ strip --strip-unneeded --strip-debug ${PLUGIN}
+
+ config: ${CFGOBJ}
+ rm -f ${CFGPRG}
+- gcc ${CFLAGS} ${CFGOBJ} -o ${CFGPRG} ${LIBS}
++ ${CC} ${CFLAGS} ${CFGOBJ} -o ${CFGPRG} ${LIBS}
+ strip --strip-unneeded --strip-debug ${CFGPRG}
+
+ clean: