1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

Toolchain+Userland: Enable TLS for x86_64

This is not technically a toolchain change, but it does require
rebuilding the toolchain for x86_64 (and just that).
This commit is contained in:
Gunnar Beutner 2021-07-03 00:50:22 +02:00 committed by Andreas Kling
parent 371c852fc0
commit e1ff30a360
4 changed files with 5 additions and 27 deletions

View file

@ -93,11 +93,6 @@ 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)