Fix build under "make --no-builtin-rules"
Mon Jan 6 23:57:00 GMT 2014
On Mon, Jan 6, 2014 at 6:47 PM, Andreas Schwab <email@example.com> wrote:
> Patrick Palka <firstname.lastname@example.org> writes:
>> From what I inferred from the make manual, $* is functionally
>> equivalent to $(basename $@) in this case.
> Or $(base), I think.
> Andreas Schwab, email@example.com
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
I tried using $(base) but I wound up with a different build error.
When compiling morestack.S, $(base) gets expanded into "unwind-sjlj"
instead of "morestack". I believe this is because Makefile variables
inside rule bodies are late-bound/expanded.
More information about the Gcc-patches