mirror of
https://github.com/pygos/build.git
synced 2024-11-05 03:27:10 +01:00
d6030cd898
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
14 lines
537 B
Diff
14 lines
537 B
Diff
diff --git a/gcc/gcc.c b/gcc/gcc.c
|
|
index a716f70..aca73c2 100644
|
|
--- a/gcc/gcc.c
|
|
+++ b/gcc/gcc.c
|
|
@@ -869,8 +869,7 @@ proper position among the other output files. */
|
|
|
|
#ifndef LINK_SSP_SPEC
|
|
#ifdef TARGET_LIBC_PROVIDES_SSP
|
|
-#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
|
|
- "|fstack-protector-strong|fstack-protector-explicit:}"
|
|
+#define LINK_SSP_SPEC "-lssp_nonshared"
|
|
#else
|
|
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
|
|
"|fstack-protector-strong|fstack-protector-explicit" \
|