summaryrefslogtreecommitdiff
path: root/main/jni/Android.mk
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-10-19 11:14:23 +0200
committerArne Schwabe <arne@rfc2549.org>2015-10-19 11:14:23 +0200
commitf1dff3a593649364a84889f7106266634007fe85 (patch)
tree10cbc34dae58da98274491f47344d09d5c6baa5a /main/jni/Android.mk
parent41f203eccd9ecefcf00c63b592bd78f4deff9b95 (diff)
Get the native ABI from a native ABI call (closes #391), update translations, report ABI as part of version information
Diffstat (limited to 'main/jni/Android.mk')
-rw-r--r--main/jni/Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/jni/Android.mk b/main/jni/Android.mk
index 0b35dabe..a9f9cec1 100644
--- a/main/jni/Android.mk
+++ b/main/jni/Android.mk
@@ -47,13 +47,11 @@ LOCAL_PATH := $(JNI_DIR)
# The only real JNI libraries
include $(CLEAR_VARS)
LOCAL_LDLIBS := -llog -lz
-LOCAL_CFLAGS = --std=c99
+LOCAL_CFLAGS = --std=c99 -DTARGET_ARCH_ABI=\"${TARGET_ARCH_ABI}\"
LOCAL_SRC_FILES:= jniglue.c scan_ifs.c
LOCAL_MODULE = opvpnutil
include $(BUILD_SHARED_LIBRARY)
-
-# The only real JNI libraries
include $(CLEAR_VARS)
LOCAL_LDLIBS := -llog -lz
LOCAL_CFLAGS = --std=c99