PATCH: LDFLAGS handling in V3

Daniel Jacobowitz drow@false.org
Thu Jul 28 13:03:00 GMT 2005


On Wed, Jul 27, 2005 at 04:48:40PM -0700, Mark Mitchell wrote:
> >I do  understand what you mean about quoting and about reusable scripts.
> > I suppose I could work on that, once we know what we want it to do.
> 
> So, I think we have to go this route.

Why bother quoting LDFLAGS - why not add a new variable containing the
--sysroot option, update target libraries to use it (a bit messy but
mechanical), and put --sysroot X -Wl,--sysroot,X in it iff we have
detected that GNU ld is being used and supports --sysroot?


-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Libstdc++ mailing list