From b9b89e938537d5f44108f93961c8ab44b9422cdb Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 14 Dec 2015 14:15:12 -0800 Subject: [PATCH] Turn on stack protector for mips. Go straight to -fstack-protector-strong, since it works to boot the emulator. Change-Id: Ie44abd869355d2163dec7d9e2635b26b45255df6 --- core/combo/TARGET_linux-mips.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/combo/TARGET_linux-mips.mk b/core/combo/TARGET_linux-mips.mk index a70f4f80d..186d88f25 100644 --- a/core/combo/TARGET_linux-mips.mk +++ b/core/combo/TARGET_linux-mips.mk @@ -89,6 +89,7 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \ -ffunction-sections \ -fdata-sections \ -funwind-tables \ + -fstack-protector-strong \ -Wa,--noexecstack \ -Werror=format-security \ -D_FORTIFY_SOURCE=2 \