summaryrefslogtreecommitdiffstats
path: root/core/host_static_library.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-06-10 16:21:50 -0700
committerYing Wang <wangying@google.com>2014-06-10 16:24:31 -0700
commit6e85f8b0defe16ff24ecdce300c6a75ec689d05d (patch)
treee4019f0daa54caa753afceaa25e714422a01f519 /core/host_static_library.mk
parente1b867dde77d59bb35f366c2e3d65fe37c696880 (diff)
downloadbuild-6e85f8b0defe16ff24ecdce300c6a75ec689d05d.tar.gz
build-6e85f8b0defe16ff24ecdce300c6a75ec689d05d.tar.bz2
build-6e85f8b0defe16ff24ecdce300c6a75ec689d05d.zip
Set default LOCAL_MULTILIB only if LOCAL_MODULE_HOST_ARCH isn't restricted
Otherwise we may end up conflict between LOCAL_MODULE_HOST_ARCH and the default multilib mode. Also removed the unneeded variants of LOCAL_MODULE_HOST_ARCH. Change-Id: I9e5a0144da3cb6310be0ddf098738987e51305de
Diffstat (limited to 'core/host_static_library.mk')
-rw-r--r--core/host_static_library.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/host_static_library.mk b/core/host_static_library.mk
index c40cf7d29..74ac2ea66 100644
--- a/core/host_static_library.mk
+++ b/core/host_static_library.mk
@@ -1,6 +1,7 @@
my_prefix := HOST_
include $(BUILD_SYSTEM)/multilib.mk
+ifndef LOCAL_MODULE_HOST_ARCH
ifndef my_module_multilib
ifeq ($(HOST_PREFER_32_BIT),true)
my_module_multilib := 32
@@ -9,6 +10,7 @@ else
my_module_multilib := first
endif
endif
+endif
LOCAL_2ND_ARCH_VAR_PREFIX :=
include $(BUILD_SYSTEM)/module_arch_supported.mk