OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix llvm.mk and the other 49 mk files
[android-x86/external-llvm.git]
/
lib
/
CodeGen
/
Android.mk
diff --git
a/lib/CodeGen/Android.mk
b/lib/CodeGen/Android.mk
index
d232e55
..
2ce8aec
100644
(file)
--- a/
lib/CodeGen/Android.mk
+++ b/
lib/CodeGen/Android.mk
@@
-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