Add linux-portable target

This commit is contained in:
twinaphex 2015-03-06 11:28:53 +01:00
parent 5b28007ceb
commit d57f89f3f1
1 changed files with 9 additions and 0 deletions

View File

@ -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)