summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Sandberg Eriksson <adam@sandbergericsson.se>2019-03-31 17:36:13 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-04-01 03:32:38 -0400
commit18d1555d6e8d8988bcf19a4411a9ff432898282e (patch)
tree8d3cd5c6ac2313b6de04e5429d9b7ef92dd6eeef
parent27b99ed8ede3d54932a432402de7dc43d1445f8f (diff)
downloadhaskell-18d1555d6e8d8988bcf19a4411a9ff432898282e.tar.gz
configure: document the use of the LD variable
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0f62eebd13..d1091e0261 100644
--- a/configure.ac
+++ b/configure.ac
@@ -529,6 +529,7 @@ FP_SET_CFLAGS_C99([CC],[CONF_CC_OPTS_STAGE2],[CONF_CPP_OPTS_STAGE2])
dnl ** Which ld to use
dnl --------------------------------------------------------------
+AC_ARG_VAR(LD,[Use as the path to ld. See also --disable-ld-override.])
FIND_LD([$target],[GccUseLdOpt])
CONF_GCC_LINKER_OPTS_STAGE1="$CONF_GCC_LINKER_OPTS_STAGE1 $GccUseLdOpt"
CONF_GCC_LINKER_OPTS_STAGE2="$CONF_GCC_LINKER_OPTS_STAGE2 $GccUseLdOpt"