Line
Link Here
|
0 |
-- gcc-6.1.0/gcc/gcc.c.orig |
0 |
++ gcc-6.1.0/gcc/gcc.c |
Lines 870-877
Link Here
|
870 |
|
870 |
|
871 |
#ifndef LINK_SSP_SPEC |
871 |
#ifndef LINK_SSP_SPEC |
872 |
#ifdef TARGET_LIBC_PROVIDES_SSP |
872 |
#ifdef TARGET_LIBC_PROVIDES_SSP |
873 |
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ |
873 |
#define LINK_SSP_SPEC "-lssp_nonshared" |
874 |
"|fstack-protector-strong|fstack-protector-explicit:}" |
|
|
875 |
#else |
874 |
#else |
876 |
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ |
875 |
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ |
877 |
"|fstack-protector-strong|fstack-protector-explicit" \ |
876 |
"|fstack-protector-strong|fstack-protector-explicit" \ |