always check if ssp needs to be linked

This commit is contained in:
Brent Cook 2015-06-11 08:47:12 -05:00
parent cf0bcbd599
commit 04a8eca5d3

View File

@ -94,11 +94,9 @@ AC_DEFUN([CHECK_C_HARDENING_OPTIONS], [
AC_MSG_WARN([compiler does not appear to support stack protection])
)
)
AS_IF([test "x$HOST_OS" = "xwin"], [
AC_SEARCH_LIBS([__stack_chk_guard],[ssp])
])
])
])
# Restore CC, LD
CC="$saved_CC"