[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 07:15:29 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Jan,

* 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.

Hope that helps.


reply via email to

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