am a6ffb929: FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

* commit 'a6ffb929f44e8def03bdc820386c5acfbd78f24b':
  FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
This commit is contained in:
Ying Wang
2015-05-20 07:03:25 +00:00
committed by Android Git Automerger

View File

@@ -101,3 +101,8 @@ ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES := libasan
# This allows us to use the superset of functionality that compiler-rt # This allows us to use the superset of functionality that compiler-rt
# provides to Clang (for supporting features like -ftrapv). # provides to Clang (for supporting features like -ftrapv).
COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES := libcompiler_rt-extras COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES := libcompiler_rt-extras
ifeq ($(HOST_PREFER_32_BIT),true)
# We don't have 32-bit prebuilt libLLVM/libclang, so force to build them from source.
FORCE_BUILD_LLVM_COMPONENTS := true
endif