mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-08-01 14:03:24 +02:00

This adds the patches from the previously tested gcc version 14.2.0 and they have been tested to successfully apply to 14.3.0 with no issues. The libquadmath patch for GCC issue 116007 is not copied over because it has already been applied upstream. The corresponding hash has been added.
15 lines
601 B
Diff
15 lines
601 B
Diff
diff --git a/gcc/gcc.cc b/gcc/gcc.cc
|
|
index 7837553958b..3c81c5798d8 100644
|
|
--- a/gcc/gcc.cc
|
|
+++ b/gcc/gcc.cc
|
|
@@ -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" \
|