mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-03-29 08:12:44 +02:00
(Android) For Android x86 build - try to use mmap, for Android - use ARM_MEMORY_DYNAREC
codepath
This commit is contained in:
@@ -6,14 +6,14 @@ LOCAL_MODULE := retro
|
||||
CPU_ARCH :=
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
LOCAL_CFLAGS += -DANDROID_ARM -DARM_ARCH
|
||||
LOCAL_CFLAGS += -DANDROID_ARM -DARM_ARCH -DARM_MEMORY_DYNAREC
|
||||
LOCAL_ARM_MODE := arm
|
||||
CPU_ARCH := arm
|
||||
HAVE_DYNAREC := 1
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_CFLAGS += -DANDROID_X86
|
||||
LOCAL_CFLAGS += -DANDROID_X86 -DHAVE_MMAP
|
||||
CPU_ARCH := x86_32
|
||||
HAVE_DYNAREC := 1
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user