waf: build PIEs if supported by the compiler
authorDavid Disseldorp <ddiss@samba.org>
Tue, 28 May 2013 13:00:47 +0000 (15:00 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 30 May 2013 09:37:47 +0000 (11:37 +0200)
commitd4cd8284d9f6bdf9ce299648405b729e343da55d
tree01ea6abc83c5d7f4e3acdb5dedf46cc34a91d54e
parentb4378f1f3b6c442f3657577fd8f36d6179b2e11d
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>
The last 3 patches address bug #9910 - PIE builds not supported.

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Thu May 30 11:37:47 CEST 2013 on sn-devel-104
wscript