Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26f8ac9a authored by Dan Willemsen's avatar Dan Willemsen Committed by android-build-merger
Browse files

Merge "Fix LOCAL_MULTILIB := 64 in TARGET_TRANSLATE_2ND_ARCH builds" am: 2f9b9f09

am: 8156e82f

Change-Id: I0ca9919004e299c41f5e273ea30d7acb48512ec0
parents e0f8e4df 8156e82f
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -4,13 +4,15 @@

$(call record-module-type,PACKAGE)

ifeq ($(TARGET_TRANSLATE_2ND_ARCH),true)
LOCAL_MULTILIB := first
endif

my_prefix := TARGET_
include $(BUILD_SYSTEM)/multilib.mk

ifeq ($(TARGET_TRANSLATE_2ND_ARCH),true)
  ifneq ($(TARGET_SUPPORTS_64_BIT_APPS)|$(my_module_multilib),|64)
    my_module_multilib := first
  endif
endif

ifeq ($(TARGET_SUPPORTS_32_BIT_APPS)|$(TARGET_SUPPORTS_64_BIT_APPS),true|true)
  # packages default to building for either architecture,
  # the preferred if its supported, otherwise the non-preferred.