relro and precompiled headers

Adam Jackson ajax at redhat.com
Thu Jul 7 17:02:21 UTC 2011


On Thu, 2011-07-07 at 16:49 +0200, Jakub Jelinek wrote:
> On Fri, Jul 01, 2011 at 02:15:08PM +0200, Dan Horák wrote:
> > when I'm building Code::Block in rawhide I'm getting into troubles with
> > the "relro" feature when combined with pre-compiled headers.
> > 
> > with default flags I get:
> 
> Putting -Wl,-z,relro into CFLAGS or CXXFLAGS is a mistake, -Wl,-z,relro
> should go into LDFLAGS instead.

We don't currently have global LDFLAGS in redhat-rpm-macros.  But, no
time like the present I suppose.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110707/7402f7ff/attachment.bin 


More information about the devel mailing list