[PATCH] Remove the autoconf build system

Andreas Schneider asn at samba.org
Mon May 27 08:36:47 MDT 2013


On Monday 27 May 2013 14:26:36 David Disseldorp wrote:
> On Mon, 27 May 2013 21:26:16 +1000
> 
> Andrew Bartlett <abartlet at samba.org> wrote:
> > > I don't consider this a blocker for now, but I'd like to see configure
> > > time PIE (--enable-pie) support re-added for vendors requiring address
> > > space layout randomization.
> > 
> > I would be very glad to work with you on this.  What compiler and linker
> > flag to we need to add?
> 
> cflags='-fPIE' and ldflags='-pie' on GCC. So something like:
> 
>     if Options.options.enable_pie == True:
>         conf.ADD_CFLAGS('-fPIE')
>         conf.ADD_LDFLAGS('-pie')

We don't want to have these flags set for small short running binaries like 
net, wbinfo etc.

Only the long running daemons should be compiled with PIE support!


	-- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list