Add linux-portable target
authortwinaphex <libretro@gmail.com>
Thu, 5 Mar 2015 18:27:20 +0000 (19:27 +0100)
committertwinaphex <libretro@gmail.com>
Thu, 5 Mar 2015 18:27:20 +0000 (19:27 +0100)
Makefile.libretro
platform/libpicofe

index 8a4d57a..61deaad 100644 (file)
@@ -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
index 515ac0b..9fec8a9 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 515ac0b9d2c4d45a465335d54b8c49830914fcea
+Subproject commit 9fec8a91c9b19856ac0b51de53b847b38ed8dc61