On 6/23/2026 6:54 AM, Nathan Sidwell wrote:
the riscv backend creates a generator file, and attempts to add it to genprogs variable.  But that fails as the target make fragments are included earlier than gcc's Makefile.in sets genprogs and related variables.

So, t-riscv works around this by copying the generator file link rule.

Changing gcc/Makefile.in to append, rather than set, the various generator variables means we no longer need that special rule.

I also tweaked the spacing of t-riscv's appending to genprogs, as whitespace is more conventional there.
Ah, this was falling through the cracks because of "riscv" vs "RISC-V".  We key on the latter in patchwork.

OK for the trunk.  Andreas pointed out a typo, I'll assume you'll fix that.  No need for another review round due to that typo.

Jeff

Reply via email to