summaryrefslogtreecommitdiff
path: root/jni
diff options
context:
space:
mode:
authoraliaspider2015-11-09 10:01:33 +0100
committeraliaspider2015-11-09 10:01:33 +0100
commitc8b00c7e773066824a07a81a1017ef585ea7b805 (patch)
tree59ce11ef4dedfbec916d39bf43502d29cc9af1d4 /jni
parent5cf3f2ad07442b3c85966cbe58de382367cc7165 (diff)
downloadsnes9x2002-c8b00c7e773066824a07a81a1017ef585ea7b805.tar.gz
snes9x2002-c8b00c7e773066824a07a81a1017ef585ea7b805.tar.bz2
snes9x2002-c8b00c7e773066824a07a81a1017ef585ea7b805.zip
(android) enable ARM_ASM only for TARGET_ARCH=arm
Diffstat (limited to 'jni')
-rw-r--r--jni/Android.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index ba91683..92c30db 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -2,21 +2,20 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
-ARM_ASM = 1
-
LOCAL_MODULE := retro
ifeq ($(TARGET_ARCH),arm)
-LOCAL_CFLAGS += -DANDROID_ARM
+ARM_ASM = 1
+LOCAL_CFLAGS += -DANDROID_ARM
LOCAL_ARM_MODE := arm
endif
ifeq ($(TARGET_ARCH),x86)
-LOCAL_CFLAGS += -DANDROID_X86
+LOCAL_CFLAGS += -DANDROID_X86
endif
ifeq ($(TARGET_ARCH),mips)
-LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
+LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
endif
ifeq ($(NDK_DEBUG),1)