summaryrefslogtreecommitdiff
path: root/jni
diff options
context:
space:
mode:
authortwinaphex2014-12-10 20:31:56 +0100
committertwinaphex2014-12-10 20:31:56 +0100
commita9ce9727362739b0932bf2a51eed82b16d69e7c2 (patch)
tree285186de9dbbac941fdfce673dac00952dd642cd /jni
parente33a56cd83d1009a6770a1f84bd4af8b9f746868 (diff)
downloadpicogpsp-a9ce9727362739b0932bf2a51eed82b16d69e7c2.tar.gz
picogpsp-a9ce9727362739b0932bf2a51eed82b16d69e7c2.tar.bz2
picogpsp-a9ce9727362739b0932bf2a51eed82b16d69e7c2.zip
Add HAVE_DYNAREC and -DARCH_ARM optionally to CFLAGS
Diffstat (limited to 'jni')
-rw-r--r--jni/Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index f16ff1e..be588b8 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -27,6 +27,13 @@ CORE_DIR := ..
SOURCES_C :=
SOURCES_ASM :=
+ifeq ($(HAVE_DYNAREC),1)
+LOCAL_CFLAGS += -DHAVE_DYNAREC
+endif
+
+ifeq ($(CPU_ARCH),arm)
+LOCAL_CFLAGS += -DARM_ARCH
+endif
include $(CORE_DIR)/Makefile.common