[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rfe: Direct -fPIE support

From: Ralf Wildenhues
Subject: Re: rfe: Direct -fPIE support
Date: Tue, 9 Dec 2008 19:50:17 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Jan,

* Jan Engelhardt wrote on Tue, Dec 09, 2008 at 05:41:36PM CET:
> On Tuesday 2008-12-09 07:15, Ralf Wildenhues wrote:
> >* Jan Engelhardt wrote on Tue, Dec 09, 2008 at 12:11:52AM CET:
> >> 
> >> is there a chance automake and/or libtool would support -fPIE for 
> >> executables, much like libtool unconditionally turns on -fPIC for shared 
> >> libraries?
> >
> >Just using
> >  ./configure CFLAGS=-fPIE
> >
> >should work fine, or put it in target_CFLAGS if you only want some
> >targets to be PIE.  Be sure to use recent Libtool, so that libraries

> >get the right flags.
> libtool version is 1.5.26. I fear just adding CFLAGS=-fPIE is not
> going to cut it:

Let me repeat my above suggestion: Be sure to use recent Libtool.
Basic PIE support was only added in 2.2, according to libtool/NEWS.
Try again with Libtool 2.2.6, report back if that causes problems.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]