summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-13 18:12:47 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-13 18:12:47 +1100
commit174bed686968494723e6db881208cc4dac0d020f (patch)
tree5568f66229b7407ba29580937ca72027465203ff
parent075e258c2cc41e1d7f3ea2d292c5342091728d40 (diff)
Retpoline linker flag only needed for linking.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 56172972c..753395f10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,7 +166,7 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
166 OSSH_CHECK_CFLAG_COMPILE([-mfunction-return=thunk]) # gcc 166 OSSH_CHECK_CFLAG_COMPILE([-mfunction-return=thunk]) # gcc
167 OSSH_CHECK_CFLAG_COMPILE([-mindirect-branch=thunk]) # gcc 167 OSSH_CHECK_CFLAG_COMPILE([-mindirect-branch=thunk]) # gcc
168 OSSH_CHECK_CFLAG_COMPILE([-mretpoline]) # clang 168 OSSH_CHECK_CFLAG_COMPILE([-mretpoline]) # clang
169 OSSH_CHECK_CFLAG_LINK([-Wl,-z,retpolineplt]) 169 OSSH_CHECK_LDFLAG_LINK([-Wl,-z,retpolineplt])
170 OSSH_CHECK_CFLAG_COMPILE([-D_FORTIFY_SOURCE=2]) 170 OSSH_CHECK_CFLAG_COMPILE([-D_FORTIFY_SOURCE=2])
171 OSSH_CHECK_LDFLAG_LINK([-Wl,-z,relro]) 171 OSSH_CHECK_LDFLAG_LINK([-Wl,-z,relro])
172 OSSH_CHECK_LDFLAG_LINK([-Wl,-z,now]) 172 OSSH_CHECK_LDFLAG_LINK([-Wl,-z,now])