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/Guidelin...
>
> 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(a)redhat.com> - 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