summaryrefslogtreecommitdiff
path: root/Toolchain/CMake
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-09-06 12:12:48 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-09-16 16:09:19 +0000
commit77f124c87aceb52c6dae8ddab16669b67c7847e1 (patch)
tree8685e8278a5549f307e150e9bd98f3b0152aa989 /Toolchain/CMake
parenta4f5a5d783e7b0282d2905be1cb50620f711ae66 (diff)
downloadserenity-77f124c87aceb52c6dae8ddab16669b67c7847e1.zip
Toolchain: Remove references to `-lm`
Diffstat (limited to 'Toolchain/CMake')
-rw-r--r--Toolchain/CMake/LLVMRuntimesConfig.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Toolchain/CMake/LLVMRuntimesConfig.cmake b/Toolchain/CMake/LLVMRuntimesConfig.cmake
index bc13e82545..dfaa45c203 100644
--- a/Toolchain/CMake/LLVMRuntimesConfig.cmake
+++ b/Toolchain/CMake/LLVMRuntimesConfig.cmake
@@ -58,8 +58,5 @@ set(CMAKE_CXX_FLAGS ${compiler_flags} CACHE STRING "")
set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
set(LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "")
set(LIBCXX_INCLUDE_BENCHMARKS OFF CACHE BOOL "")
-if (NOT "${SERENITY_TOOLCHAIN_ARCH}" STREQUAL "aarch64")
- set(LIBCXX_HAS_M_LIB ON CACHE BOOL "")
-endif()
set(LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
set(LIBUNWIND_USE_COMPILER_RT ON CACHE BOOL "")