This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: LDFLAGS handling in V3
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