mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 15:16:06 +00:00

We can remove the variable from https://reviews.llvm.org/D5610 since link.h is available on Linux (glibc/musl/Bionic), FreeBSD, and NetBSD. Use `__has_include(<link.h>)` before including it. Pull Request: https://github.com/llvm/llvm-project/pull/104893
See docs/CMake.html for instructions on how to build LLVM with CMake.