forked from openkylin/platform_build
Merge "arm64: restore relro/now"
This commit is contained in:
commit
a42e0f5016
|
@ -106,10 +106,10 @@ TARGET_GLOBAL_CFLAGS += -fno-strict-volatile-bitfields
|
||||||
#
|
#
|
||||||
TARGET_GLOBAL_CFLAGS += -Wno-psabi
|
TARGET_GLOBAL_CFLAGS += -Wno-psabi
|
||||||
|
|
||||||
# TODO - temporarily remove "-Wl,-z,relro -Wl,-z,now" as they cause segmentation fault on the
|
|
||||||
# v8 foundation model.
|
|
||||||
TARGET_GLOBAL_LDFLAGS += \
|
TARGET_GLOBAL_LDFLAGS += \
|
||||||
-Wl,-z,noexecstack \
|
-Wl,-z,noexecstack \
|
||||||
|
-Wl,-z,relro \
|
||||||
|
-Wl,-z,now \
|
||||||
-Wl,--warn-shared-textrel \
|
-Wl,--warn-shared-textrel \
|
||||||
-Wl,--fatal-warnings \
|
-Wl,--fatal-warnings \
|
||||||
-Wl,-maarch64linux \
|
-Wl,-maarch64linux \
|
||||||
|
|
Loading…
Reference in New Issue