]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Correct LDFLAGS for clang example.
authorDarren Tucker <dtucker@zip.com.au>
Wed, 17 Aug 2016 04:25:43 +0000 (14:25 +1000)
committerDarren Tucker <dtucker@zip.com.au>
Wed, 17 Aug 2016 04:25:43 +0000 (14:25 +1000)
--with-ldflags isn't used until after the -ftrapv test, so mention
LDFLAGS instead for now.

INSTALL

diff --git a/INSTALL b/INSTALL
index bd59677001495bc80e44081da75ec445aa8ee78a..e25adeb1a80dad084d12dea59b44c81832aa8ad4 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -4,7 +4,7 @@ A C compiler.  Any C89 or better compiler should work.  Where supported,
 configure will attempt to enable the compiler's run-time integrity checking
 options.  Some notes about specific compilers:
  - clang: -ftrapv and -sanitize=integer require the compiler-rt runtime
-  (--with-ldflags=--rtlib=compiler-rt)
+  (CC=clang LDFLAGS=--rtlib=compiler-rt ./configure)
 
 You will need working installations of Zlib and libcrypto (LibreSSL /
 OpenSSL)