Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e27b214f authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Revert "Turn on _FORTIFY_SOURCE=2 for the host."

This reverts commit 224806d0.

Change-Id: I654157ec4be7ff95356ab4a25b27c44762793e74
parent 224806d0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -fPIC \
  -no-canonical-prefixes \
  -include $(call select-android-config-h,linux-x86)

$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector
# TODO: Set _FORTIFY_SOURCE=2. Bug 20558757.
$(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.
# See bug 12708004.
+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ HOST_GLOBAL_CFLAGS += -fPIC \
  -no-canonical-prefixes \
  -include $(call select-android-config-h,linux-x86)

HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector
# TODO: Set _FORTIFY_SOURCE=2. Bug 20558757.
HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -fstack-protector

# Workaround differences in inttypes.h between host and target.
# See bug 12708004.