[all-commits] [llvm/llvm-project] dbb4f9: [compiler-rt] Don't link builtins against the CRT ...

David Truby via All-commits all-commits at lists.llvm.org
Tue Oct 31 05:51:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbb4f90252d19878d08a8dbe25d101d6c7af1f57
      https://github.com/llvm/llvm-project/commit/dbb4f90252d19878d08a8dbe25d101d6c7af1f57
  Author: David Truby <david.truby at arm.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M compiler-rt/cmake/builtin-config-ix.cmake
    M compiler-rt/lib/builtins/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Don't link builtins against the CRT on Windows (#70675)

compiler-rt/builtins doesn't depend on anything from the CRT but
currently links against it and embeds a `/defaultlib:msvcrt` in the
`.lib` file, forcing anyone linking against it to also link against that
specific CRT. This isn't necessary as the end user can just choose which
CRT they want to use independently.




More information about the All-commits mailing list