[cfe-users] How do I make CMake use LLD

David Blaikie via cfe-users cfe-users at lists.llvm.org
Mon Mar 4 07:07:09 PST 2019

Generally the linker is invoked via the compiler wrapper (eg: "clang x.o
y.o" to produce a.out), so you can add to your linker flags "-fuse-ld=lld"
to tell the compiler wrapper to lld.

On Mon, Mar 4, 2019 at 7:06 AM Itaru Kitayama via cfe-users <
cfe-users at lists.llvm.org> wrote:

> Hi,
> Keeping the system linker as GNU ld, how do I make CMake use LLD
> at configure time? alias ld='lld' does not seem to work.
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20190304/bb670685/attachment.html>

More information about the cfe-users mailing list