mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Meta: Remove obsolete -fconcepts
CFLAG
The GCC documentation says that since it's officially a part of C++20, this flag does nothing. Clang, however, does complain that it does not recognize it, so it's better to just remove it.
This commit is contained in:
parent
11a945a499
commit
7f2eb2f332
Notes:
sideshowbarker
2024-07-18 09:04:44 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/7f2eb2f3328 Pull-request: https://github.com/SerenityOS/serenity/pull/8696 Reviewed-by: https://github.com/Dexesttp Reviewed-by: https://github.com/gunnarbeutner ✅ Reviewed-by: https://github.com/networkException
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
|||
|
||||
add_compile_options(-Wno-literal-suffix)
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
add_compile_options(-fconcepts)
|
||||
add_compile_options(-Wno-literal-suffix)
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$")
|
||||
add_compile_options(-Wno-overloaded-virtual -Wno-user-defined-literals)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue