From ceaf498c233ba9ff8461f40cd405c26d01843cfe Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 5 Mar 2015 19:27:20 +0100 Subject: [PATCH] Add linux-portable target --- Makefile.libretro | 6 ++++++ platform/libpicofe | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 8a4d57a5..61deaad5 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -37,6 +37,12 @@ ifeq ($(platform), unix) TARGET := $(TARGET_NAME)_libretro.so SHARED := -shared DONT_COMPILE_IN_ZLIB = 1 + CFLAGS += -DFAMEC_NO_GOTOS +else ifeq ($(platform), linux-portable) + TARGET := $(TARGET_NAME)_libretro.so + SHARED := -shared -nostdlib -L. -lmusl + DONT_COMPILE_IN_ZLIB = 1 + CFLAGS += -DFAMEC_NO_GOTOS else ifeq ($(platform), osx) TARGET := $(TARGET_NAME)_libretro.dylib SHARED := -dynamiclib diff --git a/platform/libpicofe b/platform/libpicofe index 515ac0b9..9fec8a91 160000 --- a/platform/libpicofe +++ b/platform/libpicofe @@ -1 +1 @@ -Subproject commit 515ac0b9d2c4d45a465335d54b8c49830914fcea +Subproject commit 9fec8a91c9b19856ac0b51de53b847b38ed8dc61 -- 2.39.5