-fno-asynchronous-unwind-tables is now required on MingW

This commit is contained in:
Frank Denis 2017-09-15 14:39:09 +02:00
parent 7de597f051
commit 186b398a21

View File

@ -242,6 +242,15 @@ AS_CASE([$host_os],
AX_CHECK_LINK_FLAG([-Wl,--nxcompat], [LDFLAGS="$LDFLAGS -Wl,--nxcompat"]) AX_CHECK_LINK_FLAG([-Wl,--nxcompat], [LDFLAGS="$LDFLAGS -Wl,--nxcompat"])
]) ])
AS_CASE([$host_os],
[cygwin*|mingw*|msys|pw32*|cegcc*], [
AX_CHECK_COMPILE_FLAG([-fno-asynchronous-unwind-tables], [
AX_CHECK_LINK_FLAG([-fno-asynchronous-unwind-tables],
[CFLAGS="$CFLAGS -fno-asynchronous-unwind-tables"]
)
])
])
AS_IF([test "x$enable_ssp" != "xno"],[ AS_IF([test "x$enable_ssp" != "xno"],[
AS_CASE([$host_os], AS_CASE([$host_os],