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

Elan Ruusamäe glen at delfi.ee
Sat Mar 3 14:25:45 CET 2007


On Saturday 03 March 2007, 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.
shouldn't the proper fix be then to pass -m32/-m64 in LDFLAGS?

> automake-generated makefiles pass CFLAGS to linking command when gcc is
> used to link.
i wouldn't rely on this behavior in the future ;)

-- 
glen


More information about the pld-devel-en mailing list