configure.ac: Add -mstackrealign to CFLAGS for mingw*

This commit is contained in:
Erik de Castro Lopo 2017-10-27 19:35:21 +11:00
parent 9b4fdaccc1
commit ac5b66a447

View File

@ -598,7 +598,9 @@ AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [
win32_target_dll=1
AS_IF([test "x$enable_shared" = "xno"], [
win32_target_dll=0
])],
])
AX_APPEND_COMPILE_FLAGS([-mstackrealign], [CFLAGS])
],
[os2*], [
SHLIB_VERSION_ARG="-Wl,-export-symbols \$(top_srcdir)/src/Symbols.os2"
])