Commit Graph

5 Commits

Author SHA1 Message Date
Florian Weimer 509d4afbe4 Remove -z now from GCC specs file, now on command line (#1548397) 2018-02-24 21:37:06 +01:00
Panu Matilainen b1a45b244e -pie is incompatible with static linkage (#1343892, #1287743)
The hardened gcc specs do not handle static linkage, so building
with -static has been broken since commit
d9235d2d90. Adjust the -ld spec
file to avoid -pie when static linkage is used, as suggested
by Florian Weimer.
2016-11-08 15:21:31 +02:00
Adam Jackson 5568cb1c38 Fix ld specs mishandling of incremental linking 2015-04-08 09:29:03 -04:00
Adam Jackson 3cff8f9b97 redhat-config-*: Use + to append rather than %rename, to protect against
multiple -specs= ending up in the command line. (#892837)
2013-05-13 11:19:02 -04:00
Adam Jackson ca385d9198 redhat-hardened-{cc1,ld}: Move some of the rewrite magic to gcc specs so
we don't end up with both -fPIC and -fPIE on the command line
2011-08-08 10:59:25 -04:00