Browse Source

Do not use LLD when building LLVM under macOS.

pull/1507/head
Joao Matos 5 years ago
parent
commit
8aad7accd4
  1. 2
      build/scripts/LLVM.lua

2
build/scripts/LLVM.lua

@ -227,7 +227,7 @@ function cmake(gen, conf, builddir, options) @@ -227,7 +227,7 @@ function cmake(gen, conf, builddir, options)
options = ""
end
if UseClang() then
if UseClang() and not os.ishost("macosx") then
options = options .. " -DLLVM_USE_LINKER=/usr/bin/ld.lld"
end

Loading…
Cancel
Save