OSDN Git Service

Fix llvm.mk and the other 49 mk files
[android-x86/external-llvm.git] / lib / CodeGen / Android.mk
index d232e55..2ce8aec 100644 (file)
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
 LOCAL_PATH:= $(call my-dir)
 
 codegen_SRC_FILES :=   \
@@ -99,3 +102,5 @@ LOCAL_MODULE:= libLLVMCodeGen
 include $(LLVM_DEVICE_BUILD_MK)
 include $(LLVM_GEN_INTRINSICS_MK)
 include $(BUILD_STATIC_LIBRARY)
+
+endif