mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-04-19 23:44:58 +02:00

- all patches from gcc 8.3.0 except for 0017-pr93402.diff, which is now already present - see https://web.archive.org/web/20200309214347/https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93402
15 lines
597 B
Diff
15 lines
597 B
Diff
diff --git a/gcc/gcc.c b/gcc/gcc.c
|
|
index a716f708259..eb1610ba8b0 100644
|
|
--- a/gcc/gcc.c
|
|
+++ b/gcc/gcc.c
|
|
@@ -870,7 +870,8 @@ 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:}"
|
|
+ "|fstack-protector-strong|fstack-protector-explicit" \
|
|
+ ":-lssp_nonshared}"
|
|
#else
|
|
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
|
|
"|fstack-protector-strong|fstack-protector-explicit" \
|