[openssh-commits] [openssh] 01/01: Retpoline linker flag only needed for linking.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Feb 13 18:13:36 AEDT 2018


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 174bed686968494723e6db881208cc4dac0d020f
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Tue Feb 13 18:12:47 2018 +1100

    Retpoline linker flag only needed for linking.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 56172972..753395f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,7 +166,7 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
 	OSSH_CHECK_CFLAG_COMPILE([-mfunction-return=thunk]) # gcc
 	OSSH_CHECK_CFLAG_COMPILE([-mindirect-branch=thunk]) # gcc
 	OSSH_CHECK_CFLAG_COMPILE([-mretpoline]) # clang
-	OSSH_CHECK_CFLAG_LINK([-Wl,-z,retpolineplt])
+	OSSH_CHECK_LDFLAG_LINK([-Wl,-z,retpolineplt])
 	OSSH_CHECK_CFLAG_COMPILE([-D_FORTIFY_SOURCE=2])
 	OSSH_CHECK_LDFLAG_LINK([-Wl,-z,relro])
 	OSSH_CHECK_LDFLAG_LINK([-Wl,-z,now])

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list