15 lines
597 B
Diff
15 lines
597 B
Diff
diff --git a/gcc/gcc.c b/gcc/gcc.c
|
|
index 9f790db0daf..e6887590ae2 100644
|
|
--- a/gcc/gcc.c
|
|
+++ b/gcc/gcc.c
|
|
@@ -877,7 +877,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" \
|