diff options
-rw-r--r-- | m4/check-hardening-options.m4 | 4 | ||||
-rw-r--r-- | tests/Makefile.am | 2 |
2 files changed, 5 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]]) |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8ce338f..f43bd85 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -172,9 +172,11 @@ check_PROGRAMS += dsatest | |||
172 | dsatest_SOURCES = dsatest.c | 172 | dsatest_SOURCES = dsatest.c |
173 | 173 | ||
174 | # dtlstest | 174 | # dtlstest |
175 | if !HOST_WIN | ||
175 | TESTS += dtlstest.sh | 176 | TESTS += dtlstest.sh |
176 | check_PROGRAMS += dtlstest | 177 | check_PROGRAMS += dtlstest |
177 | dtlstest_SOURCES = dtlstest.c | 178 | dtlstest_SOURCES = dtlstest.c |
179 | endif | ||
178 | EXTRA_DIST += dtlstest.sh | 180 | EXTRA_DIST += dtlstest.sh |
179 | 181 | ||
180 | # ec_point_conversion | 182 | # ec_point_conversion |