aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2021-05-30 17:53:02 -0500
committerBrent Cook <busterb@gmail.com>2021-05-30 17:53:02 -0500
commitc8911ede68dc33a19e540b0c1026d3cbfb0067d3 (patch)
tree1cbcb419f8f93aa4e18221127c2c47c10692e463 /m4
parentb25111c22da96c839bad46cfbd49e030a3b03fb2 (diff)
parente07b5feba5103e662016158a2d77ca6bf1db12fb (diff)
downloadportable-c8911ede68dc33a19e540b0c1026d3cbfb0067d3.tar.gz
portable-c8911ede68dc33a19e540b0c1026d3cbfb0067d3.tar.bz2
portable-c8911ede68dc33a19e540b0c1026d3cbfb0067d3.zip
Land #674, fix mingw builds with newer compiler versions
Diffstat (limited to 'm4')
-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], [
73 CHECK_CFLAG([[-fno-strict-overflow]]) 73 CHECK_CFLAG([[-fno-strict-overflow]])
74 74
75 # _FORTIFY_SOURCE replaces builtin functions with safer versions. 75 # _FORTIFY_SOURCE replaces builtin functions with safer versions.
76 AX_ADD_FORTIFY_SOURCE 76 AS_IF([test "x$HOST_OS" != "xwin"], [
77 AX_ADD_FORTIFY_SOURCE
78 ])
77 79
78 # Enable read only relocations 80 # Enable read only relocations
79 CHECK_LDFLAG([[-Wl,-z,relro]]) 81 CHECK_LDFLAG([[-Wl,-z,relro]])