From cf1d58b351c9b05875c7a14b6c2e26afc6694ace Mon Sep 17 00:00:00 2001 From: kwyxz Date: Mon, 22 Jan 2018 13:49:27 -0800 Subject: [PATCH] This is litterally all that was required to build on Solaris 11. Portability FTW. --- Makefile.libretro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index b085912d..a82a13ad 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 -- 2.39.2