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

Commit 72c15268 authored by Nick Desaulniers's avatar Nick Desaulniers Committed by android-build-merger
Browse files

Merge "build: make: use -Wl,-z,separate-code w/ -Wl,--execute-only"

am: 5c3bf1b1

Change-Id: Iabb1a11d75a243540052cfa973282ae77d747b68
parents c37ff6ed 5c3bf1b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ ifneq ($(strip $(ENABLE_XOM)),false)
    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
          my_ldflags += -Wl,--execute-only -Wl,-z,separate-code
        endif
      endif
    endif