waf: build position independent executables
commit4e76a77f622f1fa30a8ae1e011d87fc9754e1b85
authorDavid Disseldorp <ddiss@samba.org>
Mon, 27 May 2013 15:57:01 +0000 (27 17:57 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 May 2013 00:56:36 +0000 (28 02:56 +0200)
tree3b5dc02193662ed8bb119f5fd0300bc2623bed74
parentd47c1245788505cfaca9a25c855a2503c83e4315
waf: build position independent executables

This patch re-instates support for building Position Independent
Executables using the '-fPIE' and '-pie' compiler and linker flags
respectively.

PIE builds are enabled by default, and can be explicitly disabled using
the '--without-pie' configure argument.

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue May 28 02:56:36 CEST 2013 on sn-devel-104
buildtools/wafsamba/wafsamba.py