Re: --Wl,-z,relro in LDFLAGS required?/Inconsistency when not using %configure

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

 



Am 22.10.2013 16:47, schrieb Adam Jackson:
> On Sun, 2013-10-20 at 23:42 +0200, Till Maas wrote:
>> https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Compiler_flags
>>
>> mentions only %optflags to be required for packages but I noticed that
>> %configure sets LDFLAGS to a value different than %optflags:
> 
> As noted there does exist an rpm variable for this.  However at least
> the relro part of it seems to be unnecessary with current binutils:
> 
> %if 0%{?fedora} >= 18
> * Tue Mar 06 2012 Nick Clifton <nickc@xxxxxxxxxx> - 2.22.52.0.1-7
> - Enable -zrelro by default. (#621983 #807831)
> %endif

this is only *partial* RELRO
Full RELRO: -Wl,-z,now -Wl,-z,relro

http://tk-blog.blogspot.co.at/2009/02/relro-not-so-well-known-memory.html



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[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