]> granicus.if.org Git - llvm/commit
Add a LLVM_USE_LINKER that defines the linker to use when building LLVM
authorMehdi Amini <mehdi.amini@apple.com>
Sun, 15 Jan 2017 03:21:30 +0000 (03:21 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sun, 15 Jan 2017 03:21:30 +0000 (03:21 +0000)
commita9134d2526fa011a40656c2b5f8b5124fa38496d
treeccc6333cccf34ed0fd09d9a6f45b3d673ad96a09
parent29bdc2ffce3afbb04f6e561ea0001cd252b58b3f
Add a LLVM_USE_LINKER that defines the linker to use when building LLVM

Summary:
This string parameter is passed to -fuse-ld when linking. It can be
an absolute path to your custom linker, otherwise clang will look for
`ld.{name}`.

Reviewers: davide, tejohnson, pcc

Subscribers: llvm-commits, mgorny

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292047 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
docs/CMake.rst