summaryrefslogtreecommitdiff
path: root/games-emulation/psemu-padjoy/files/cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/psemu-padjoy/files/cc.patch')
-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: