[PATCH] D124954: ld.lld: Respect LDEMULATION environment variable.

Shea Levy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 13:01:03 PDT 2022


shlevy added a comment.

@MaskRay The use case which led to this for me is building gmp. Its configure script uses `ld --help` to look for the `auto-import` string to determine if the linker supports shared linking, which doesn't work as the linker defaults to the elf driver. With this patch, I can just set LDEMULATION for the build and have configure detect correctly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124954



More information about the llvm-commits mailing list