aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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