summaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'llvm-host-build.mk')
-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 74e14ba..d2c7e52 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