https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61651
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Husemann from comment #1)
> Passing AS_FOR_TARGET (and friends) in the configure environment does not
> help, but explicitly adding --with-as=.. does fix the issue.
>
> So this looks like a pure configure bug.
If this is a pure configure bug, the solution is purely in patching the build
machinery, so adding the "build" keyword