From 80e651aca34ba7637eab9876a9d0568d9bb741d7 Mon Sep 17 00:00:00 2001 From: Andrew Johnston Date: Sun, 28 Jul 2024 18:38:01 -0700 Subject: [PATCH] fix(build): use specific version of lld for link on unix (#12907) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd42fe427c..f85c2c72a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1223,7 +1223,7 @@ endif() if(UNIX AND NOT APPLE) target_link_options(${bun} PUBLIC - -fuse-ld=lld + -fuse-ld=lld-${LLVM_VERSION} -fno-pic -static-libstdc++ -static-libgcc