Merge "Enable -fstack-protector-strong for the host."

This commit is contained in:
Elliott Hughes 2015-12-14 20:31:10 +00:00 committed by Gerrit Code Review
commit a4b3d20d28
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ endif # BUILD_HOST_static
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -fPIC \ $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -fPIC \
-no-canonical-prefixes \ -no-canonical-prefixes \
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong
# Workaround differences in inttypes.h between host and target. # Workaround differences in inttypes.h between host and target.
# See bug 12708004. # See bug 12708004.

View File

@ -44,7 +44,7 @@ endif # BUILD_HOST_static
HOST_GLOBAL_CFLAGS += -fPIC \ HOST_GLOBAL_CFLAGS += -fPIC \
-no-canonical-prefixes \ -no-canonical-prefixes \
HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong
# Workaround differences in inttypes.h between host and target. # Workaround differences in inttypes.h between host and target.
# See bug 12708004. # See bug 12708004.