b1a45b244e
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.
6 lines
64 B
Plaintext
6 lines
64 B
Plaintext
*self_spec:
|
|
+ %{!static:%{!shared:%{!r:-pie}}}
|
|
|
|
*link:
|
|
+ -z now
|