Skip to content

Commit

Permalink
Add workaround for ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
ryze312 committed Jun 12, 2024
1 parent 9d5eb73 commit e323410
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

0 comments on commit e323410

Please sign in to comment.