summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5bb804e..e3c1979 100644
--- a/Makefile
+++ b/Makefile
@@ -79,6 +79,15 @@ ifeq ($(platform), unix)
ifeq ($(HAVE_DYNAREC),1)
HAVE_MMAP = 1
endif
+else ifeq ($(platform), linux-portable)
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC -nostdlib
+ SHARED := -shared $(FORCE_32BIT) -Wl,--version-script=link.T
+ LIBM :=
+ CFLAGS += $(FORCE_32BIT)
+ ifeq ($(HAVE_DYNAREC),1)
+ HAVE_MMAP = 1
+ endif
# OS X
else ifeq ($(platform), osx)