mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Lagom/CMake: Add -fconstexpr-steps for AppleClang
This commit is contained in:
parent
22d6fbeb12
commit
69e2431c64
Notes:
sideshowbarker
2024-07-18 18:50:46 +09:00
Author: https://github.com/pakerwreah Commit: https://github.com/SerenityOS/serenity/commit/69e2431c645 Pull-request: https://github.com/SerenityOS/serenity/pull/6770
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ else()
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++2a -fPIC -g -Wno-deprecated-copy")
|
||||
endif()
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$")
|
||||
# Clang's default constexpr-steps limit is 1048576(2^20), GCC doesn't have one
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-overloaded-virtual -Wno-user-defined-literals -fconstexpr-steps=16777216")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue