forked from openkylin/platform_build
Merge "build: make: use -Wl,-z,separate-code w/ -Wl,--execute-only" am: 5c3bf1b164
am: 72c15268e2
Change-Id: I3b34f3f1d1024d9ddc2105e253bee3af05bdfb5c
This commit is contained in:
commit
240c6bff1b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue