summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-06-08 17:43:36 +1000
committerDarren Tucker <dtucker@dtucker.net>2018-06-08 17:43:36 +1000
commitf2c06ab8dd90582030991f631a2715216bf45e5a (patch)
tree3a5d2d13b735151024ec687ab4546d7f4182f57c /INSTALL
parente1542a80797b4ea40a91d2896efdcc76a57056d2 (diff)
downloadopenssh-git-f2c06ab8dd90582030991f631a2715216bf45e5a.tar.gz
Remove ability to override $LD.
Since autoconf always uses $CC to link C programs, allowing users to override LD caused mismatches between what LD_LINK_IFELSE thought worked and what ld thought worked. If you do need to do this kind of thing you need to set a compiler flag such as gcc's -fuse-ld in LDFLAGS.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL2
1 files changed, 1 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 7f552bf7..d5275113 100644
--- a/INSTALL
+++ b/INSTALL
@@ -220,7 +220,7 @@ If you need to pass special options to the compiler or linker, you
can specify these as environment variables before running ./configure.
For example:
-CFLAGS="-O -m486" LDFLAGS="-s" LIBS="-lrubbish" LD="/usr/foo/ld" ./configure
+CC="/usr/foo/cc" CFLAGS="-O" LDFLAGS="-s" LIBS="-lrubbish" ./configure
3. Configuration
----------------