qi: clarify the order in which qi looks for a recipe
[dragora.git] / patches / gcc / 0001-ssp_nonshared.patch
blob31c93e9fb234b37b7134fb2df802eb03ecc06fe5
1 From 58973b2d754b619f62b1a899742c3c86486a1246 Mon Sep 17 00:00:00 2001
2 From: Szabolcs Nagy <nsz@port70.net>
3 Date: Sat, 7 Nov 2015 14:58:40 +0000
4 Subject: [PATCH 01/12] ssp_nonshared
6 ---
7 gcc/gcc.c | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
10 diff --git a/gcc/gcc.c b/gcc/gcc.c
11 index a716f708259..eb1610ba8b0 100644
12 --- a/gcc/gcc.c
13 +++ b/gcc/gcc.c
14 @@ -870,7 +870,8 @@ proper position among the other output files. */
15 #ifndef LINK_SSP_SPEC
16 #ifdef TARGET_LIBC_PROVIDES_SSP
17 #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
18 - "|fstack-protector-strong|fstack-protector-explicit:}"
19 + "|fstack-protector-strong|fstack-protector-explicit" \
20 + ":-lssp_nonshared}"
21 #else
22 #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
23 "|fstack-protector-strong|fstack-protector-explicit" \
24 --
25 2.17.1