diff options
author | June McEnroe <june@causal.agency> | 2021-10-14 21:28:19 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-10-14 21:28:19 -0400 |
commit | 9993c88024f45401d84bfa7267620aa97328c1d0 (patch) | |
tree | 34097d0fd1f5d289f9fbc812a3cb5e3dc5afbc83 /m4/check-hardening-options.m4 | |
parent | Merge LibreSSL 3.3.4 (diff) | |
parent | Import LibreSSL 3.4.1 (diff) | |
download | libretls-9993c88024f45401d84bfa7267620aa97328c1d0.tar.gz libretls-9993c88024f45401d84bfa7267620aa97328c1d0.zip |
Merge LibreSSL 3.4.1 3.4.1
Diffstat (limited to '')
-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 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]]) |