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