diff options
author | twinaphex | 2014-12-11 01:38:47 +0100 |
---|---|---|
committer | twinaphex | 2014-12-11 01:38:47 +0100 |
commit | c78a0dd39b5a65d73a8d5eb462918e1b28847a7b (patch) | |
tree | 97cd20731990f541a2dce9e37102f50b0ef75966 /jni | |
parent | eeeff89a2c8df93fbb57db7f7770451160699e73 (diff) | |
download | picogpsp-c78a0dd39b5a65d73a8d5eb462918e1b28847a7b.tar.gz picogpsp-c78a0dd39b5a65d73a8d5eb462918e1b28847a7b.tar.bz2 picogpsp-c78a0dd39b5a65d73a8d5eb462918e1b28847a7b.zip |
(Android) For Android x86 build - try to use mmap, for Android - use ARM_MEMORY_DYNAREC
codepath
Diffstat (limited to 'jni')
-rw-r--r-- | jni/Android.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk index fd7be21..442daa9 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -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 |