[openssh-commits] [openssh] 01/03: Fix test for -z, retpolineplt linker flag.
git+noreply at mindrot.org
git+noreply at mindrot.org
Sun Feb 11 21:25:49 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 bc02181c24fc551aab85eb2cff0f90380928ef43
Author: Darren Tucker <dtucker at dtucker.net>
Date: Sun Feb 11 19:45:47 2018 +1300
Fix test for -z,retpolineplt linker flag.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 71174571..092c8230 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([-z retpolineplt])
+ OSSH_CHECK_CFLAG_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