aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm-host-build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index 74e14ba70f..d2c7e52583 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -58,7 +58,11 @@ endif
LOCAL_IS_HOST_MODULE := true
+ifeq ($(HOST_PREFER_32_BIT),true)
+LOCAL_MULTILIB := 32
+else
LOCAL_MULTILIB := first
+endif
###########################################################
## Commands for running tblgen to compile a td file