SOURCES: less-multilib.patch (NEW) - pass CFLAGS when linking

Przemyslaw Iskra sparky at pld-linux.org
Sat Mar 3 14:34:44 CET 2007


On Sat, Mar 03, 2007 at 12:30:59PM +0100, Jakub Bogusz wrote:
> On Sat, Mar 03, 2007 at 01:14:14PM +0200, Elan Ruusamäe wrote:
> > On Friday 02 March 2007, tommat wrote:
> > > Author: tommat                       Date: Fri Mar  2 17:37:48 2007 GMT
> > > Module: SOURCES                       Tag: HEAD
> > > ---- Log message:
> > > - pass CFLAGS when linking
> > 
> > what's that good for?
> 
> CFLAGS may contain -m32/-m64 (or other?) to select ABI.
> automake-generated makefiles pass CFLAGS to linking command when gcc is
> used to link.

It may also contain -O2/-Os which makes final binary a little bit
smaller.

-O level
	  If level is a numeric values greater than zero ld optimizes
	the output.  This might take significantly longer and therefore
	probably should only be enabled for the final binary.


-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list