Update tools.cmake

This commit is contained in:
Alexey Milovidov 2023-09-27 00:37:17 +03:00 committed by GitHub
parent 252627ea8c
commit b11e876323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,9 +75,11 @@ endif ()
if (LINKER_NAME)
message(STATUS "Using linker: ${LINKER_NAME}")
else()
elseif (NOT ARCH_S390X AND NOT OS_FREEBSD)
message (FATAL_ERROR "The only supported linker is LLVM's LLD, but we cannot find it.")
endif()
else ()
message(STATUS "Using linker: <default>")
endif ()
# Archiver