mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
Kernel: Disable __thread and TLS on x86_64 for now
They're not yet properly supported.
This commit is contained in:
parent
c0bd2c0691
commit
fe2716df21
5 changed files with 28 additions and 6 deletions
|
@ -93,6 +93,11 @@ set(CMAKE_CXX_STANDARD 20)
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
if("${SERENITY_ARCH}" STREQUAL "x86_64")
|
||||
# FIXME: Implement TLS support and get rid of this
|
||||
add_compile_definitions(NO_TLS X86_64_NO_TLS)
|
||||
endif()
|
||||
|
||||
add_compile_options(-Wno-literal-suffix)
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
add_compile_options(-fconcepts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue