commit | 5c3bf1b164436823f6ff23261cd3911cc79ca2e3 | [log] [tgz] |
---|---|---|
author | Nick Desaulniers <ndesaulniers@google.com> | Mon Dec 16 21:13:28 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Dec 16 21:13:28 2019 +0000 |
tree | 5d6cb620a4b8b3e0cc0050c0459515b5bf9c172d | |
parent | 55406a845886a321efce4e2eae1b21c904e3e218 [diff] | |
parent | 9882f6f7be9229e8c9ef275694256d001ea819f3 [diff] |
Merge "build: make: use -Wl,-z,separate-code w/ -Wl,--execute-only"
diff --git a/core/binary.mk b/core/binary.mk index ae456e3..cf3cfd5 100644 --- a/core/binary.mk +++ b/core/binary.mk
@@ -109,7 +109,7 @@ 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