This website requires JavaScript.
Explore
Help
Sign In
rpms
/
redhat-rpm-config
Watch
7
Star
0
Fork
0
You've already forked redhat-rpm-config
Code
Issues
Pull Requests
Releases
Activity
c7d6417a3b
redhat-rpm-config
/
redhat-hardened-ld
3 lines
47 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 14:59:25 +00:00
*self_spec:
-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 d9235d2d90873ff6207cb26d331e979ae9d651fd. Adjust the -ld spec file to avoid -pie when static linkage is used, as suggested by Florian Weimer.
2016-11-08 13:16:37 +00:00
+ %{!static:%{!shared:%{!r:-pie}}}
Reference in New Issue
Copy Permalink