From e323410aba8968dee8885ca4deedecd6a3d7ebaf Mon Sep 17 00:00:00 2001 From: Ryze312 <50497128+ryze312@users.noreply.github.com> Date: Wed, 12 Jun 2024 18:18:41 +0300 Subject: [PATCH] Add workaround for ICE --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b26fe066..1defa727 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,3 +226,8 @@ foreach (COMPILER_DEF IN LISTS ABADDON_COMPILER_DEFS) endforeach () set_property(TARGET abaddon PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) + +# Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 +if (WIN32) + target_compile_options(abaddon PRIVATE "-fno-declone-ctor-dtor") +endif ()