r8151: Add support to create position independent executable (PIE) code if the
commit3ddc4877bdd7f1a1e28855dbd8dc5dbf16839f3e
authorLars Müller <lmuelle@samba.org>
Mon, 4 Jul 2005 16:39:11 +0000 (4 16:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:58:12 +0000 (10 10:58 -0500)
tree1051c0471bf8ddcc285a2d873755148243fa97d3
parent944ecbdbb05f87270430efbef0ddc7cc388e5d36
r8151: Add support to create position independent executable (PIE) code if the
compiler supports it.

We have to compile with -fPIE and not -fpie.  Else ppc and s390(x) will
fail (to small GOT).

It's possible to disable configure's PIE detection with --disable-pie
(This used to be commit 07845bb4c5a31cb29bf7b8ff6c50e5da84c329e4)
source3/Makefile.in
source3/configure.in