summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
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 3f56359..b102afc 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -113,3 +113,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