Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5d4e74f authored by Ying Wang's avatar Ying Wang
Browse files

FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

Because we don't have 32-bit prebuilt libLLVM/libclang.

Change-Id: I86dac33e9bcbcb3d197f7d1e4c9d33bd4e7c473e
parent b0efa98d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -112,3 +112,8 @@ ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES_TARGET := libasan
# This allows us to use the superset of functionality that compiler-rt
# provides to Clang (for supporting features like -ftrapv).
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