Merge pull request #9 from kwyxz/solaris_build

Allow Solaris 11 build
This commit is contained in:
Autechre 2020-05-21 20:29:28 +02:00 committed by GitHub
commit 5099ffa2b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,11 @@ else ifeq ($(platform), unix)
CC = gcc
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=$(CORE_DIR)/libretro/core/link.T -Wl,--no-undefined
ifneq ($(findstring SunOS,$(shell uname -a)),)
SHARED := -shared -z defs -z gnu-version-script-compat
else
SHARED := -shared -Wl,--version-script=$(CORE_DIR)/libretro/core/link.T -Wl,--no-undefined
endif
PLATFLAGS := -DALIGN_DWORD
# Classic Platforms ####################