diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-19 23:17:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-19 23:17:14 +0000 |
commit | 00a5e292872468b37bbfe3be2fefdad680f82cfd (patch) | |
tree | 0ac6b338546f4bc647a91fcdefb0a602efb113b9 /configure.ac | |
parent | 16e9746859840da3a8d8f3f00172dd8bdf8d72d5 (diff) | |
download | libmicrohttpd-00a5e292872468b37bbfe3be2fefdad680f82cfd.tar.gz libmicrohttpd-00a5e292872468b37bbfe3be2fefdad680f82cfd.zip |
trying to fix #3584
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 5c61acbb..0dfd0cbb 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -247,8 +247,10 @@ AM_CONDITIONAL(W32_SHARED_LIB_EXP, [test "x$w32_shared_lib_exp" = "xyes"]) | |||
247 | AM_CONDITIONAL(USE_MS_LIB_TOOL, [test "x$ac_cv_use_ms_lib_tool" = "xyes"]) | 247 | AM_CONDITIONAL(USE_MS_LIB_TOOL, [test "x$ac_cv_use_ms_lib_tool" = "xyes"]) |
248 | 248 | ||
249 | # set GCC options | 249 | # set GCC options |
250 | # use '-fno-strict-aliasing', but only if the compiler can take it | 250 | # use '-fno-strict-aliasing', but only if the compiler |
251 | AX_APPEND_COMPILE_FLAGS([[-fno-strict-aliasing]]) | 251 | # and linker can take it |
252 | AX_CHECK_LINK_FLAG([-fno-strict-aliasing], | ||
253 | [AX_APPEND_COMPILE_FLAGS([-fno-strict-aliasing])]) | ||
252 | 254 | ||
253 | AC_C_BIGENDIAN | 255 | AC_C_BIGENDIAN |
254 | 256 | ||