[PATCH] D95204: [lld-macho] Switch default to new Darwin port

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 5 18:41:35 PST 2021


smeenai added inline comments.


================
Comment at: llvm/utils/gn/build/BUILD.gn:240
     if (host_os == "mac") {
-      ldflags += [ "-fuse-ld=lld.darwinnew" ]
+      ldflags += [ "-fuse-ld=ld64.lld" ]
     } else {
----------------
I'm pretty sure `-fuse-ld=ld64.lld` won't work ... the `ld64.` prefix is added by the clang driver itself. Just `-fuse-ld=lld` should do the trick (in other words, this conditional can go away entirely).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95204/new/

https://reviews.llvm.org/D95204



More information about the cfe-commits mailing list