https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124547
--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
After
# Collect target-machine-specific information.
. ${srcdir}/config.gcc || exit 1
the ultimate wisdom for GNU ld should be $gnu_ld, not $gnu_ld_flag.