https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124547

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
IMO it would make sense to move

# Check if we are using GNU ld if not already set.
if test -z "$gnu_ld_flag"; then
  if $gcc_cv_ld --version 2>/dev/null | grep GNU > /dev/null; then
    gnu_ld_flag=yes
  else
    gnu_ld_flag=no
  fi
fi

into the

# With GNU ld
AC_ARG_WITH(gnu-ld,
[AS_HELP_STRING([--with-gnu-ld], [arrange to work with GNU ld])],
gnu_ld_flag="$with_gnu_ld",
gnu_ld_flag=no)

handling.

Reply via email to