This is litterally all that was required to build on Solaris 11. Portability FTW.
authorkwyxz <kwyxz@kwyxz.org>
Mon, 22 Jan 2018 21:49:27 +0000 (13:49 -0800)
committerkwyxz <kwyxz@kwyxz.org>
Mon, 22 Jan 2018 21:49:27 +0000 (13:49 -0800)
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