summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-05-16 09:37:23 -0700
committerYing Wang <wangying@google.com>2014-05-16 09:37:23 -0700
commit6374153fbf008f39ef5de03120de2b218d1d0701 (patch)
treea099bf31fe839760f3241cc2787b4d195f3de3bd /core/clang
parentc0f10644bf877fae44e8aa5ebfff41f0e27af197 (diff)
downloadbuild-6374153fbf008f39ef5de03120de2b218d1d0701.zip
build-6374153fbf008f39ef5de03120de2b218d1d0701.tar.gz
build-6374153fbf008f39ef5de03120de2b218d1d0701.tar.bz2
Force to build llvm from source in 64-bit host build.
Bug: 13751317 Change-Id: I4a4150bfe21607eb7a2342bbd8120b431427eee5
Diffstat (limited to 'core/clang')
-rw-r--r--core/clang/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index d44be52..227169d 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -6,6 +6,11 @@ WITHOUT_TARGET_CLANG := true
WITHOUT_HOST_CLANG := true
endif
+# We don't have 64-bit host prebuilts yet.
+ifeq (true,$(HOST_IS_64_BIT))
+FORCE_BUILD_LLVM_COMPONENTS := true
+endif
+
LLVM_PREBUILTS_PATH := prebuilts/clang/$(BUILD_OS)-x86/host/3.5/bin
LLVM_PREBUILTS_HEADER_PATH := prebuilts/clang/$(BUILD_OS)-x86/host/3.5/lib/clang/3.5/include/