Why does _hardened_build use "-z, relro" and not "-z, relro, -z, now" ?

Paul Wouters paul at nohats.ca
Fri Apr 12 15:02:07 UTC 2013


On Thu, 11 Apr 2013, Björn Persson wrote:

> Paul Wouters wrote:
>> Why does the _hardened_build macro for the spec file use "-z,relro" and not "-z,relro,-z,now" ?
>
> Huh? As far as I can see _hardened_build adds -z now, not relro.
> -Wl,-z,relro is supposed to be included in LDFLAGS. Or has this changed
> recently?

Let me rephrase... Why is _hardened_build not using "-z,relro,-z,now" ?

Paul


More information about the devel mailing list