diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-05-11 18:12:33 +0800 |
---|---|---|
committer | Moritz Angermann <moritz.angermann@gmail.com> | 2017-05-11 18:31:24 +0800 |
commit | 5ddb307edf15c4d86e5c35c4063ec967424e19f2 (patch) | |
tree | c3eb1267950a43e582b5e83d8a48a7c250448998 /configure.ac | |
parent | 8d4bce42de7929b0dec7e7d68e66bcfc4d266322 (diff) | |
download | haskell-5ddb307edf15c4d86e5c35c4063ec967424e19f2.tar.gz |
Do not hardcode the specific linker to use
This should be handled appropriately by a wrapper script around the compiler,
if one wants to insist on the specific linker to be used. Otherwise this
breaks if the used compiler fails to understand this directive.
I believe that using a specific linker should be part of the compilers
toolchain, we delegate to and not hardcoded here in ghc.
Reviewers: dfeuer, erikd, hvr, austin, rwbarton, bgamari
Reviewed By: bgamari
Subscribers: snowleopard, davean, dfeuer, thomie, erikd
Differential Revision: https://phabricator.haskell.org/D3351
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0a0f79006d..73ee64d8ec 100644 --- a/configure.ac +++ b/configure.ac @@ -497,7 +497,7 @@ FP_SET_CFLAGS_C99([CC],[CONF_CC_OPTS_STAGE2],[CONF_CPP_OPTS_STAGE2]) dnl ** Which ld to use? dnl -------------------------------------------------------------- -FIND_LD([LdCmd]) +FIND_LD([$target],[LdCmd]) AC_SUBST([LdCmd]) dnl ** Which nm to use? |