MaskRay added a comment.

In D129855#3662457 <https://reviews.llvm.org/D129855#3662457>, @quinnp wrote:

> In D129855#3657006 <https://reviews.llvm.org/D129855#3657006>, @MaskRay wrote:
>
>> This is not right as using `ld.lld` as the default linker isn't the majority 
>> case. If you want to change the default for your distribution, set 
>> `-DCLANG_DEFAULT_LINKER=lld`.
>> (Alternatively, you can have a `ld` symlink pointing to `lld`.)
>
> Hi @MaskRay! Do you mean I should abandon this change or find a way to set 
> the CMake variable `CLANG_DEFAULT_LINKER` to `lld` as default when building 
> for PowerPC Linux? I wasn't able to find any examples of people setting CMake 
> variables for specific distributions.
>
> Thanks!

You can customize `CLANG_DEFAULT_LINKER` in your clang distribution. I don't 
find convincing argument to change the default for `PPCLinuxToolChain` and 
diverge from `Linux`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129855

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D129855: [clang][... Fangrui Song via Phabricator via cfe-commits

Reply via email to