aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-04-08 22:04:47 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-08 22:04:48 +0000
commitc75239e6119d0f9a74c57099d91cbc9bde56bf33 (patch)
treef276f9648a7d7687ef34d69eeb2c60438d58e4e3
parent55a4283a8567819d70c7e196f68dff5ae12fdc8f (diff)
parent92ccc85915133409f202cb2a838c243d910e0df2 (diff)
downloadexternal_llvm-c75239e6119d0f9a74c57099d91cbc9bde56bf33.zip
external_llvm-c75239e6119d0f9a74c57099d91cbc9bde56bf33.tar.gz
external_llvm-c75239e6119d0f9a74c57099d91cbc9bde56bf33.tar.bz2
Merge "Take HOST_PREFER_32_BIT into account"
-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