mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-04-19 07:24:59 +02:00

I re-applied the patches from GCC 10.3.0. Dropped the 0005-libstdc-futex-time64 patch, as that has made it upstream.
15 lines
593 B
Diff
15 lines
593 B
Diff
diff --git a/gcc/gcc.c b/gcc/gcc.c
|
|
index 4d790f9dd..4346ad41b 100644
|
|
--- a/gcc/gcc.c
|
|
+++ b/gcc/gcc.c
|
|
@@ -980,7 +980,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" \
|