diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-06-23 16:57:52 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-06-27 08:06:00 -0400 |
commit | 995ea44d929d6141bb1a83912f45e9802faffb33 (patch) | |
tree | 7323a5cfbc88c0337a63834864b31af593122c18 /configure.ac | |
parent | 79ae2d897371946c0d3b9851228079974e759c6b (diff) | |
download | haskell-995ea44d929d6141bb1a83912f45e9802faffb33.tar.gz |
configure: Only probe for LD in FIND_LD
Since 6be2c5a7e9187fc14d51e1ec32ca235143bb0d8b we would probe for LD
rather early in `configure`. However, it turns out that this breaks
`configure`'s `ld`-override logic, which assumes that `LD` was set by
the user and aborts.
Fixes #21778.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9bcfae04c6..e6c9ed6ec7 100644 --- a/configure.ac +++ b/configure.ac @@ -356,7 +356,8 @@ else AC_PATH_PROG([CC],[gcc], [clang]) AC_PATH_PROG([CXX],[g++], [clang++]) AC_PATH_PROG([NM],[nm]) - AC_PATH_PROG([LD],[ld]) + # N.B. we don't probe for LD here but instead + # do so in FIND_LD to avoid #21778. AC_PATH_PROG([AR],[ar]) AC_PATH_PROG([RANLIB],[ranlib]) AC_PATH_PROG([OBJDUMP],[objdump]) |