forked from openkylin/platform_build
am 758a029e: am 59cbe2c6: Merge "Emit unique linker buildid in all binaries."
* commit '758a029e2a7dbe6169fbccd8680e2856ae57ee8b': Emit unique linker buildid in all binaries.
This commit is contained in:
commit
877fb8974c
|
@ -133,6 +133,7 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += \
|
|||
-Wl,-z,noexecstack \
|
||||
-Wl,-z,relro \
|
||||
-Wl,-z,now \
|
||||
-Wl,--build-id=md5 \
|
||||
-Wl,--warn-shared-textrel \
|
||||
-Wl,--fatal-warnings \
|
||||
-Wl,--icf=safe \
|
||||
|
|
|
@ -108,6 +108,7 @@ TARGET_GLOBAL_LDFLAGS += \
|
|||
-Wl,-z,noexecstack \
|
||||
-Wl,-z,relro \
|
||||
-Wl,-z,now \
|
||||
-Wl,--build-id=md5 \
|
||||
-Wl,--warn-shared-textrel \
|
||||
-Wl,--fatal-warnings \
|
||||
-Wl,-maarch64linux \
|
||||
|
|
|
@ -104,6 +104,7 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += \
|
|||
-Wl,-z,noexecstack \
|
||||
-Wl,-z,relro \
|
||||
-Wl,-z,now \
|
||||
-Wl,--build-id=md5 \
|
||||
-Wl,--warn-shared-textrel \
|
||||
-Wl,--fatal-warnings \
|
||||
$(arch_variant_ldflags)
|
||||
|
|
|
@ -104,6 +104,7 @@ TARGET_GLOBAL_LDFLAGS += \
|
|||
-Wl,-z,noexecstack \
|
||||
-Wl,-z,relro \
|
||||
-Wl,-z,now \
|
||||
-Wl,--build-id=md5 \
|
||||
-Wl,--warn-shared-textrel \
|
||||
-Wl,--fatal-warnings \
|
||||
$(arch_variant_ldflags)
|
||||
|
|
|
@ -122,6 +122,7 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -m32
|
|||
|
||||
$(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -Wl,-z,noexecstack
|
||||
$(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -Wl,-z,relro -Wl,-z,now
|
||||
$(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -Wl,--build-id=md5
|
||||
$(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -Wl,--warn-shared-textrel
|
||||
$(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -Wl,--fatal-warnings
|
||||
$(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -Wl,--gc-sections
|
||||
|
|
|
@ -127,6 +127,7 @@ TARGET_GLOBAL_LDFLAGS += -m64
|
|||
|
||||
TARGET_GLOBAL_LDFLAGS += -Wl,-z,noexecstack
|
||||
TARGET_GLOBAL_LDFLAGS += -Wl,-z,relro -Wl,-z,now
|
||||
TARGET_GLOBAL_LDFLAGS += -Wl,--build-id=md5
|
||||
TARGET_GLOBAL_LDFLAGS += -Wl,--warn-shared-textrel
|
||||
TARGET_GLOBAL_LDFLAGS += -Wl,--fatal-warnings
|
||||
TARGET_GLOBAL_LDFLAGS += -Wl,--gc-sections
|
||||
|
|
Loading…
Reference in New Issue