From 7cc88b794d0e30bafdb70394bd55afee0f5d4801 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 24 Sep 2015 13:05:53 -0700 Subject: [PATCH] Turn shared library multilib warnings into errors When caught later, these just get turned into warnings with unpredictable results, or non-obvious errors. Change-Id: Ie7ba88e97dc5bedd6cf850748d79693711ac41da --- core/shared_library.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/shared_library.mk b/core/shared_library.mk index 71a3bb2681..73aca78c53 100644 --- a/core/shared_library.mk +++ b/core/shared_library.mk @@ -9,13 +9,13 @@ endif ifeq ($(my_module_multilib),both) ifneq ($(LOCAL_MODULE_PATH),) ifneq ($(TARGET_2ND_ARCH),) -$(warning $(LOCAL_MODULE): LOCAL_MODULE_PATH for shared libraries is unsupported in multiarch builds, use LOCAL_MODULE_RELATIVE_PATH instead) +$(error $(LOCAL_MODULE): LOCAL_MODULE_PATH for shared libraries is unsupported in multiarch builds, use LOCAL_MODULE_RELATIVE_PATH instead) endif endif ifneq ($(LOCAL_UNSTRIPPED_PATH),) ifneq ($(TARGET_2ND_ARCH),) -$(warning $(LOCAL_MODULE): LOCAL_UNSTRIPPED_PATH for shared libraries is unsupported in multiarch builds) +$(error $(LOCAL_MODULE): LOCAL_UNSTRIPPED_PATH for shared libraries is unsupported in multiarch builds) endif endif endif # my_module_multilib == both