Land #674, fix mingw builds with newer compiler versions
This commit is contained in:
commit
c8911ede68
@ -73,7 +73,9 @@ AC_DEFUN([CHECK_C_HARDENING_OPTIONS], [
|
|||||||
CHECK_CFLAG([[-fno-strict-overflow]])
|
CHECK_CFLAG([[-fno-strict-overflow]])
|
||||||
|
|
||||||
# _FORTIFY_SOURCE replaces builtin functions with safer versions.
|
# _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
|
# Enable read only relocations
|
||||||
CHECK_LDFLAG([[-Wl,-z,relro]])
|
CHECK_LDFLAG([[-Wl,-z,relro]])
|
||||||
|
@ -172,9 +172,11 @@ check_PROGRAMS += dsatest
|
|||||||
dsatest_SOURCES = dsatest.c
|
dsatest_SOURCES = dsatest.c
|
||||||
|
|
||||||
# dtlstest
|
# dtlstest
|
||||||
|
if !HOST_WIN
|
||||||
TESTS += dtlstest.sh
|
TESTS += dtlstest.sh
|
||||||
check_PROGRAMS += dtlstest
|
check_PROGRAMS += dtlstest
|
||||||
dtlstest_SOURCES = dtlstest.c
|
dtlstest_SOURCES = dtlstest.c
|
||||||
|
endif
|
||||||
EXTRA_DIST += dtlstest.sh
|
EXTRA_DIST += dtlstest.sh
|
||||||
|
|
||||||
# ec_point_conversion
|
# ec_point_conversion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user