Loading
Bug 1834678 - Change the llvm-config trick for cross-compilation. r=gfx-reviewers,gw
Contrary to ld64, lld doesn't ignore libraries it's given on the command line, and -lLLVM-14 ends up as a link error when using lld. So instead of relying on the flags llvm-config outputs to be kind of ignored, we replace them at the source by wrapping llvm-config itself. Differential Revision: https://phabricator.services.mozilla.com/D178900