about summary refs log tree commit diff
path: root/m4
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-17 15:06:51 -0400
committerJune McEnroe <june@causal.agency>2021-09-17 15:06:51 -0400
commitfd56a8d74b9c1b9f7005fbc003d98f1253cd5eee (patch)
tree7314e2f05490f73966fdc6b0b4d1011fed1526a9 /m4
parentImport LibreSSL 3.3.4 (diff)
downloadlibretls-fd56a8d74b9c1b9f7005fbc003d98f1253cd5eee.tar.gz
libretls-fd56a8d74b9c1b9f7005fbc003d98f1253cd5eee.zip
Import LibreSSL 3.4.0
Diffstat (limited to '')
-rw-r--r--m4/check-hardening-options.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/check-hardening-options.m4 b/m4/check-hardening-options.m4
index 869f00b..c8ab12e 100644
--- a/m4/check-hardening-options.m4
+++ b/m4/check-hardening-options.m4
@@ -73,7 +73,9 @@ AC_DEFUN([CHECK_C_HARDENING_OPTIONS], [
 		CHECK_CFLAG([[-fno-strict-overflow]])
 
 		# _FORTIFY_SOURCE replaces builtin functions with safer versions.
-		AX_ADD_FORTIFY_SOURCE
+		AS_IF([test "x$HOST_OS" != "xwin"], [
+			AX_ADD_FORTIFY_SOURCE
+		])
 
 		# Enable read only relocations
 		CHECK_LDFLAG([[-Wl,-z,relro]])