aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-06-11 08:47:12 -0500
committerBrent Cook <bcook@openbsd.org>2015-06-11 08:47:12 -0500
commit04a8eca5d3193d4b103e9791b4c21f8df63bed58 (patch)
treebf98ecc0595ac6c6c9738f9c2ec6e13b4dcf4ccb
parentcf0bcbd5990e921fff9e50c0d1b890cf13dea30a (diff)
downloadportable-04a8eca5d3193d4b103e9791b4c21f8df63bed58.tar.gz
portable-04a8eca5d3193d4b103e9791b4c21f8df63bed58.tar.bz2
portable-04a8eca5d3193d4b103e9791b4c21f8df63bed58.zip
always check if ssp needs to be linked
-rw-r--r--m4/check-hardening-options.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/check-hardening-options.m4 b/m4/check-hardening-options.m4
index 3ffdb1a..544d283 100644
--- a/m4/check-hardening-options.m4
+++ b/m4/check-hardening-options.m4
@@ -94,9 +94,7 @@ AC_DEFUN([CHECK_C_HARDENING_OPTIONS], [
94 AC_MSG_WARN([compiler does not appear to support stack protection]) 94 AC_MSG_WARN([compiler does not appear to support stack protection])
95 ) 95 )
96 ) 96 )
97 AS_IF([test "x$HOST_OS" = "xwin"], [ 97 AC_SEARCH_LIBS([__stack_chk_guard],[ssp])
98 AC_SEARCH_LIBS([__stack_chk_guard],[ssp])
99 ])
100 ]) 98 ])
101 ]) 99 ])
102 100