Page MenuHomePhabricator

[CMake][Fuchsia] Set -fuse-ld=lld explicitly for Linux runtimes
ClosedPublic

Authored by phosek on Nov 2 2018, 12:05 AM.

Details

Summary

We set lld as the default linker on non-Darwin platforms, but we still
need to set -fuse-ld=lld explicitly in to support cross-compiling Linux
runtimes on Darwin.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Nov 2 2018, 12:05 AM
mcgrathr accepted this revision.Nov 2 2018, 11:20 AM

So the default is not per-target? It should be.

This revision is now accepted and ready to land.Nov 2 2018, 11:20 AM
phosek added a comment.Nov 2 2018, 4:50 PM

So the default is not per-target? It should be.

Agreed, although that'll require non-trivial driver changes.

This revision was automatically updated to reflect the committed changes.