redhat-rpm-config/redhat-hardened-ld
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

10 lines
140 B
Plaintext

%rename self_spec rh_self_spec_old
*self_spec:
%{!shared:-pie} %(rh_self_spec_old)
%rename link rh_link_old
*link:
-z now %(rh_link_old)