From: kwyxz Date: Mon, 22 Jan 2018 21:49:27 +0000 (-0800) Subject: This is litterally all that was required to build on Solaris 11. Portability FTW. X-Git-Tag: r24l~780^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf1d58b351c9b05875c7a14b6c2e26afc6694ace;p=pcsx_rearmed.git This is litterally all that was required to build on Solaris 11. Portability FTW. --- 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