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

5 lines
130 B
Plaintext

%rename cc1_options rh_cc1_options_old
*cc1_options:
%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIC}}}}} %(rh_cc1_options_old)