From 92ccc85915133409f202cb2a838c243d910e0df2 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 8 Apr 2015 14:50:08 -0700 Subject: Take HOST_PREFER_32_BIT into account LLVM modules should compile for 64-bit for the host, except when HOST_PREFER_32_BIT is set. Change-Id: I8179df10b929ce1cc655e097814fa50ca0c3c43e --- llvm-host-build.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.1