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
9ac5353554
redhat-rpm-config
/
redhat-hardened-ld
6 lines
64 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}}}
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
*link:
redhat-config-*: Use + to append rather than %rename, to protect against multiple -specs= ending up in the command line. (#892837)
2013-05-13 15:19:02 +00:00
+ -z now
Reference in New Issue
Copy Permalink