Skip to content
Snippets Groups Projects
Commit ff0b3dc2 authored by Ben Gamari's avatar Ben Gamari
Browse files

configure: Implement ld override whitelist

Bring `configure` into alignment with `ghc-toolchain`, ensuring that the
ld-override logic will only take effect on Linux and Windows.

Fixes #25501.
parent fcb504ff
No related merge requests found
Pipeline #103379 failed
......@@ -79,13 +79,16 @@ AC_DEFUN([FIND_LD],[
dnl See #21712.
AC_CHECK_TARGET_TOOL([LD], [ld])
;;
*)
*-linux|*-mingw32)
if test "x$enable_ld_override" = "xyes"; then
find_ld
else
AC_CHECK_TARGET_TOOL([LD], [ld])
fi
;;
*)
AC_CHECK_TARGET_TOOL([LD], [ld])
;;
esac
CHECK_LD_COPY_BUG([$1])
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment