[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rfe: Direct -fPIE support
From: |
Jan Engelhardt |
Subject: |
Re: rfe: Direct -fPIE support |
Date: |
Tue, 9 Dec 2008 20:53:11 +0100 (CET) |
User-agent: |
Alpine 1.10 (LNX 962 2008-03-14) |
On Tuesday 2008-12-09 19:50, Ralf Wildenhues wrote:
>> >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.
Thanks for the hint, tried that and worked. I was not aware of the
2.x series at all, but it seems like it has been around for a long
time (distros not updating = aargh).