waf: build PIEs if supported by the compiler
commitb48ceef1d3031ec72018dc9bad1cf0dcb9864a56
authorDavid Disseldorp <ddiss@samba.org>
Tue, 28 May 2013 13:11:45 +0000 (28 15:11 +0200)
committerAlexander Bokovoy <ab@samba.org>
Wed, 29 May 2013 07:36:39 +0000 (29 09:36 +0200)
tree555ecef92493da2d69a916ab152d2f49fc148f97
parentd86fda9b18be15a33d1a8850eedda352fdb91285
waf: build PIEs if supported by the compiler

Currently waf performs a mandatory check for compiler PIE support,
unless --without-pie is specified.
This change makes Waf only perform the mandatory check if --with-pie is
specified. If neither --with-pie nor --without-pie are specified, then
PIEs are only built if compiler support is available.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
wscript