LDFLAGS setting

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Tue Feb 21 01:23:28 PST 2006


On Mon, Feb 20, 2006 at 07:42:50PM +0200, Giorgos Keramidas wrote:
> On 2006-02-20 18:27, Divacky Roman <xdivac02 at stud.fit.vutbr.cz> wrote:
> > hi
> >
> > is is possible to set global LDFLAGS as its possible with CFLAGS?
> 
> Yes, but why would you want to do this?  It is very likely to create
> dependencies with libraries that are not really used by all programs.

I was just curious. man ld promises some optimizations and thats what I am
interested in: LDFLAGS=-O1 --sort-common -z combreloc --relax

but this doesnt seem to work with autoconf :(

roman


More information about the freebsd-hackers mailing list