CMake: Disable [[no_unique_address]] when Swift is enabled
There's an upstream bug on this already.
This commit is contained in:
parent
864ddfb55d
commit
b133c27305
1 changed files with 5 additions and 0 deletions
|
|
@ -139,3 +139,8 @@ endif()
|
|||
if (NOT MSVC)
|
||||
add_cxx_compile_options(-fstrict-flex-arrays=2)
|
||||
endif()
|
||||
|
||||
# FIXME: https://github.com/swiftlang/swift/issues/80764
|
||||
if (CMAKE_Swift_COMPILER_LOADED)
|
||||
add_cxx_compile_definitions(AK_DISABLE_NO_UNIQUE_ADDRESS)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue