aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode/Writer/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bitcode/Writer/Android.mk')
-rw-r--r--lib/Bitcode/Writer/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Bitcode/Writer/Android.mk b/lib/Bitcode/Writer/Android.mk
index 5147c46..a4aac59 100644
--- a/lib/Bitcode/Writer/Android.mk
+++ b/lib/Bitcode/Writer/Android.mk
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
LOCAL_PATH:= $(call my-dir)
# For the host only
@@ -15,3 +18,5 @@ LOCAL_MODULE:= libLLVMBitWriter
include $(LLVM_HOST_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
+
+endif