On 13 November 2017 at 22:01, Tomasz Kłoczko <kloczko.tomasz@xxxxxxxxx> wrote: [..] > In other words -Wl,--as-needed should be used everywhere WITHOUT exceptions. > Easiest way apply this globally in Fedora is add --as-needed in > /usr/lib/rpm/redhat/redhat-hardened-ld spec file by apply patch: > > --- /usr/lib/rpm/redhat/redhat-hardened-ld.orig > +++ /usr/lib/rpm/redhat/redhat-hardened-ld > @@ -2,4 +2,4 @@ > + %{!static:%{!shared:%{!r:-pie}}} > > *link: > -+ -z now > ++ -z now --as-needed Just created pull request with above change: https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/3#request_diff kloczek -- Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx