[RFA:] fix PR ld/16963, missing SEARCH_DIR for non-sysroot cross-builds

Alan Modra amodra@gmail.com
Thu May 22 08:02:00 GMT 2014


On Tue, May 20, 2014 at 06:19:51PM +0200, Hans-Peter Nilsson wrote:
> > From: Alan Modra <amodra@gmail.com>
> > Date: Tue, 20 May 2014 14:35:51 +0200
> 
> > I was more concerned with something more basic.
> > 
> > Which makes support pattern rules like "e%.c: "?  Does BSD make?
> 
> Uh, eh... ah.  Right: *that's* not portable.  Ugh.  But no
> worries, here's a portable (*cough*) variant using a well-known
> construct in addition to the recursive variable expansion.

Let's first see if Nick and other interested parties are OK with
requiring GNU make.  For the record, I'm OK with the idea.  After all,
you need GNU make to build gcc these days.

If we do go with GNU make, then Makefile.tpl should be adjusted to
complain if some other make is used when building ld.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list