Force to build llvm from source in 64-bit host build.

Bug: 13751317
Change-Id: I4a4150bfe21607eb7a2342bbd8120b431427eee5
This commit is contained in:
Ying Wang 2014-05-16 09:37:23 -07:00
parent c0f10644bf
commit 6374153fbf
2 changed files with 6 additions and 1 deletions

View File

@ -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/

View File

@ -358,7 +358,7 @@ endif
# ---------------------------------------------------------------
# Generic tools.
LEX := prebuilts/misc/$(BUILD_OS)-$(BUILD_ARCH)/flex/flex-2.5.39
LEX := prebuilts/misc/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/flex/flex-2.5.39
# The default PKGDATADIR built in the prebuilt bison is a relative path
# external/bison/data.
# To run bison from elsewhere you need to set up enviromental variable