mingw: remove no-asynchronous-unwind-tables

This default is generally incompatible with other parts of mingw, and
can be applied by outside users as-needed.

Signed-off-by: James Tucker <jftucker@gmail.com>
This commit is contained in:
James Tucker 2022-05-06 19:42:04 -07:00
parent 7b55b50839
commit e45c29f063

View File

@ -190,7 +190,7 @@ else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes")
endif()
if(MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format -fno-asynchronous-unwind-tables")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format")
add_definitions(-D_POSIX_C_SOURCE=1)
endif()
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")