Merge "Disable AArch64 XOM when not using lld."

This commit is contained in:
Ivan Lozano 2018-11-29 15:58:39 +00:00 committed by Gerrit Code Review
commit 6750532978
1 changed files with 3 additions and 1 deletions

View File

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