[PATCH] waf: Build with RELRO if supported by the compiler.

Jeremy Allison jra at samba.org
Tue Jul 9 14:41:57 MDT 2013


On Fri, Jul 05, 2013 at 08:13:56AM +0200, Andreas Schneider wrote:
> Make sure we create binaries with full RELocation Read-Only support. See
> https://isisblogs.poly.edu/2011/06/01/relro-relocation-read-only/
> for more details.
> 
> The default is to check if the compiler supports RELRO and then enable
> it. Specifying '--with-relro' will make it mandatory and
> '--without-relro' will disable it.

Looks good to me !

Jeremy.


More information about the samba-technical mailing list