Re: RFC: -Wl,--as-needed by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux