[all-commits] [llvm/llvm-project] 06d06f: [CMake][llvm] avoid conflict w/ (and use when avai...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Tue Apr 27 16:43:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06d06f2f6403066415df7b8854e6aff7586a92df
      https://github.com/llvm/llvm-project/commit/06d06f2f6403066415df7b8854e6aff7586a92df
  Author: Jim Radford <jradford at apple.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M clang/tools/driver/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    R llvm/cmake/modules/CheckLinkerFlag.cmake
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    M llvm/cmake/modules/HandleLLVMStdlib.cmake
    A llvm/cmake/modules/LLVMCheckLinkerFlag.cmake

  Log Message:
  -----------
  [CMake][llvm] avoid conflict w/ (and use when available) new builtin check_linker_flag

Match the API for the new check_linker_flag and use it directly when
available, leaving the old code as a fallback.

Differential Revision: https://reviews.llvm.org/D100901




More information about the All-commits mailing list