mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-11-07 09:16:08 -10:00
CMake: Disable async unwind tables on mingw+preserve_all
From the comment [here](https://github.com/FEX-Emu/FEX/pull/6094#issuecomment-6626133724) apparently there is a bug where async unwind tables and preserve_all conflicts under mingw. So...just disable it. Easy.
This commit is contained in:
1 file changed
+4
@@ -261,6 +261,10 @@ if (HAS_CLANG_PRESERVE_ALL)
|
||||
set(HAS_CLANG_PRESERVE_ALL FALSE)
|
||||
else()
|
||||
message(STATUS "Has clang::preserve_all")
|
||||
if (MINGW)
|
||||
message(STATUS "Disabling asynchronous-unwind-tables due to bug with preserve_all and mingw")
|
||||
add_compile_options(-fno-asynchronous-unwind-tables)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in new issue
Block a user