[clang] [llvm] [llvm] Add support for building on illumos (PR #74930)
Brad Smith via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 6 00:18:51 PST 2024
================
@@ -241,6 +241,11 @@ if (NOT DEFINED LLVM_LINKER_DETECTED AND NOT WIN32)
set(LLVM_LINKER_DETECTED YES CACHE INTERNAL "")
set(LLVM_LINKER_IS_GNULD YES CACHE INTERNAL "")
message(STATUS "Linker detection: GNU ld")
+ elseif("${stderr}" MATCHES "(illumos)" OR
+ "${stdout}" MATCHES "(illumos)")
+ set(LLVM_LINKER_DETECTED YES CACHE INTERNAL "")
+ set(LLVM_LINKER_IS_SOLARISLD_ILLUMOS YES CACHE INTERNAL "")
----------------
brad0 wrote:
That does simplify things.
https://github.com/llvm/llvm-project/pull/74930
More information about the llvm-commits
mailing list