am 0dac6788
: Merge "Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host."""
* commit '0dac67880b6e1ddec9d4aa5ed741e2f62bd96284': Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
This commit is contained in:
@@ -40,8 +40,7 @@ $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -fPIC \
|
|||||||
-no-canonical-prefixes \
|
-no-canonical-prefixes \
|
||||||
-include $(call select-android-config-h,linux-x86)
|
-include $(call select-android-config-h,linux-x86)
|
||||||
|
|
||||||
# TODO: Set _FORTIFY_SOURCE=2. Bug 20558757.
|
$(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=0 -fstack-protector
|
|
||||||
|
|
||||||
# Workaround differences in inttypes.h between host and target.
|
# Workaround differences in inttypes.h between host and target.
|
||||||
# See bug 12708004.
|
# See bug 12708004.
|
||||||
|
@@ -40,8 +40,7 @@ HOST_GLOBAL_CFLAGS += -fPIC \
|
|||||||
-no-canonical-prefixes \
|
-no-canonical-prefixes \
|
||||||
-include $(call select-android-config-h,linux-x86)
|
-include $(call select-android-config-h,linux-x86)
|
||||||
|
|
||||||
# TODO: Set _FORTIFY_SOURCE=2. Bug 20558757.
|
HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -fstack-protector
|
|
||||||
|
|
||||||
# Workaround differences in inttypes.h between host and target.
|
# Workaround differences in inttypes.h between host and target.
|
||||||
# See bug 12708004.
|
# See bug 12708004.
|
||||||
|
Reference in New Issue
Block a user