waf: build position independent executables
commitb4378f1f3b6c442f3657577fd8f36d6179b2e11d
authorDavid Disseldorp <ddiss@samba.org>
Mon, 27 May 2013 15:57:01 +0000 (27 17:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 30 May 2013 07:47:50 +0000 (30 09:47 +0200)
treef97d8da8a24d5f6cbf2aa945310ea59bde3bd188
parent097ec587523df24e6a4d016cd1547de6dac17d67
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