Land #674, fix mingw builds with newer compiler versions

This commit is contained in:
Brent Cook 2021-05-30 17:53:02 -05:00
commit c8911ede68
2 changed files with 5 additions and 1 deletions

View File

@ -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]])

View File

@ -172,9 +172,11 @@ check_PROGRAMS += dsatest
dsatest_SOURCES = dsatest.c
# dtlstest
if !HOST_WIN
TESTS += dtlstest.sh
check_PROGRAMS += dtlstest
dtlstest_SOURCES = dtlstest.c
endif
EXTRA_DIST += dtlstest.sh
# ec_point_conversion