https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124547
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 63955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63955&action=edit gcc16-pr124547.patch Untested fix. We can't move the gcc_cv_ld etc. checks so early because those vars aren't set there at all.
