mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
-fno-asynchronous-unwind-tables is now required on MingW
This commit is contained in:
parent
7de597f051
commit
186b398a21
@ -242,6 +242,15 @@ AS_CASE([$host_os],
|
||||
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_CASE([$host_os],
|
||||
|
Loading…
Reference in New Issue
Block a user