From 316f720b91f879c4e3972d6d595535de0ac707b2 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Thu, 25 Apr 2013 16:49:10 -0700 Subject: [PATCH] arm: upgrade to _FORTIFY_SOURCE=2 Enable _FORTIFY_SOURCE=2 for ARM. Currently, this change is a no-op, as Android's libc doesn't support _FORTIFY_SOURCE > 1, yet. Change-Id: Ib4c8e44e6949a37352c153e3c52a4fa001f18738 --- core/combo/TARGET_linux-arm.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk index ca14651d0..deceea3d8 100644 --- a/core/combo/TARGET_linux-arm.mk +++ b/core/combo/TARGET_linux-arm.mk @@ -105,7 +105,7 @@ TARGET_GLOBAL_CFLAGS += \ -fstack-protector \ -Wa,--noexecstack \ -Werror=format-security \ - -D_FORTIFY_SOURCE=1 \ + -D_FORTIFY_SOURCE=2 \ -fno-short-enums \ $(arch_variant_cflags)