diff options
Diffstat (limited to 'core/executable.mk')
-rw-r--r-- | core/executable.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/executable.mk b/core/executable.mk index 6d8734e..65319ef 100644 --- a/core/executable.mk +++ b/core/executable.mk @@ -3,6 +3,12 @@ # By default, an executable is built for TARGET_ARCH. # To build it for TARGET_2ND_ARCH in a 64bit product, use "LOCAL_32_BIT_ONLY := true". +ifeq ($(TARGET_PREFER_32_BIT),true) +ifneq ($(LOCAL_NO_2ND_ARCH),true) +LOCAL_32_BIT_ONLY := true +endif +endif + ifeq ($(TARGET_IS_64_BIT)|$(LOCAL_32_BIT_ONLY),true|true) LOCAL_2ND_ARCH_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX) else |