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. Cheers, Ralf