Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 10:23:24 +0100
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        hackers@freebsd.org
Subject:   Re: LDFLAGS setting
Message-ID:  <20060221092324.GA23739@stud.fit.vutbr.cz>
In-Reply-To: <20060220174250.GA35343@flame.pc>
References:  <20060220172730.GA61906@stud.fit.vutbr.cz> <20060220174250.GA35343@flame.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 20, 2006 at 07:42:50PM +0200, Giorgos Keramidas wrote:
> On 2006-02-20 18:27, Divacky Roman <xdivac02@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060221092324.GA23739>