diff options
author | Colin Cross <ccross@android.com> | 2015-04-08 14:50:08 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-04-08 14:56:47 -0700 |
commit | 92ccc85915133409f202cb2a838c243d910e0df2 (patch) | |
tree | 6fcfba06fb9f54fe214144b9df22a7dcf47351dc | |
parent | 62e6deb6547e82c80cf84385ffb9339bb6b09e6f (diff) | |
download | external_llvm-92ccc85915133409f202cb2a838c243d910e0df2.zip external_llvm-92ccc85915133409f202cb2a838c243d910e0df2.tar.gz external_llvm-92ccc85915133409f202cb2a838c243d910e0df2.tar.bz2 |
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
-rw-r--r-- | llvm-host-build.mk | 4 |
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 |