aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authorkwyxz2018-01-22 13:49:27 -0800
committerkwyxz2018-01-22 13:49:27 -0800
commitcf1d58b351c9b05875c7a14b6c2e26afc6694ace (patch)
tree12617bc1c489f89e5280edde658d3fcb273c488c /Makefile.libretro
parentec665d133f4973be8a03bc3066a94c2d9de1d8ee (diff)
downloadpcsx_rearmed-cf1d58b351c9b05875c7a14b6c2e26afc6694ace.tar.gz
pcsx_rearmed-cf1d58b351c9b05875c7a14b6c2e26afc6694ace.tar.bz2
pcsx_rearmed-cf1d58b351c9b05875c7a14b6c2e26afc6694ace.zip
This is litterally all that was required to build on Solaris 11. Portability FTW.
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index b085912..a82a13a 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -36,6 +36,9 @@ EXTRA_LDFLAGS =
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
+ifneq ($(findstring SunOS,$(shell uname -a)),)
+ CC = gcc
+endif
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.so