mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
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
Notes:
github-actions[bot]
2025-04-15 08:20:13 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/b133c273056 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4360
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…
Add table
Reference in a new issue