diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-hardening-options.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/check-hardening-options.m4 b/m4/check-hardening-options.m4 index 544d283..3ffdb1a 100644 --- a/m4/check-hardening-options.m4 +++ b/m4/check-hardening-options.m4 | |||
@@ -94,7 +94,9 @@ 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 | AC_SEARCH_LIBS([__stack_chk_guard],[ssp]) | 97 | AS_IF([test "x$HOST_OS" = "xwin"], [ |
98 | AC_SEARCH_LIBS([__stack_chk_guard],[ssp]) | ||
99 | ]) | ||
98 | ]) | 100 | ]) |
99 | ]) | 101 | ]) |
100 | 102 | ||