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

Commit 21ad45df authored by Ivan Lozano's avatar Ivan Lozano Committed by android-build-merger
Browse files

Merge "Disable AArch64 XOM when not using lld."

am: 67505329

Change-Id: I48f945779cab8b640a79d29465a779d7ce2894e0
parents 5429dae4 67505329
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -91,11 +91,13 @@ ifeq ($(strip $(ENABLE_XOM)),true)

    ifeq ($(strip $(my_xom)),true)
      ifeq (arm64,$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH))
        ifeq ($(my_use_clang_lld),true)
          my_ldflags += -Wl,-execute-only
        endif
      endif
    endif
  endif
endif

my_allow_undefined_symbols := $(strip $(LOCAL_ALLOW_UNDEFINED_SYMBOLS))
ifdef SANITIZE_HOST