summaryrefslogtreecommitdiff
path: root/0001-ATF-set-fno-stack-protector.patch
blob: 47721b4a14e889e47f1a0d7da410d6614a2077cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 45018dbfb301759c9debff598a509832e35854a9 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sat, 19 Aug 2017 15:28:38 -0600
Subject: [PATCH] ATF: set -fno-stack-protector

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 74d51804..0af9b350 100644
--- a/Makefile
+++ b/Makefile
@@ -202,7 +202,8 @@ ASFLAGS			+=	$(CPPFLAGS) $(ASFLAGS_$(ARCH))			\
 				-Wa,--fatal-warnings
 TF_CFLAGS		+=	$(CPPFLAGS) $(TF_CFLAGS_$(ARCH))		\
 				-ffreestanding -fno-builtin -Wall -std=gnu99	\
-				-Os -ffunction-sections -fdata-sections
+				-Os -ffunction-sections -fdata-sections		\
+				-fno-stack-protector
 
 GCC_V_OUTPUT		:=	$(shell $(CC) -v 2>&1)
 
-- 
2.19.1