From: twinaphex Date: Thu, 5 Mar 2015 18:27:20 +0000 (+0100) Subject: Add linux-portable target X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceaf498c233ba9ff8461f40cd405c26d01843cfe;p=picodrive.git Add linux-portable target --- diff --git a/Makefile.libretro b/Makefile.libretro index 8a4d57a..61deaad 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 515ac0b..9fec8a9 160000 --- a/platform/libpicofe +++ b/platform/libpicofe @@ -1 +1 @@ -Subproject commit 515ac0b9d2c4d45a465335d54b8c49830914fcea +Subproject commit 9fec8a91c9b19856ac0b51de53b847b38ed8dc61