Merge pull request #151 from kwyxz/master
[pcsx_rearmed.git] / Makefile.libretro
index b085912..a82a13a 100644 (file)
@@ -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