build: add support for standalone lld build
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 12 Dec 2016 05:47:40 +0000 (05:47 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 12 Dec 2016 05:47:40 +0000 (05:47 +0000)
commitf1af26ddf2796d18d2f7c5b4bbbaa0065fe9812c
treeee351127454bbf3409164f09dfdd59d2c6044e4e
parent627f686ffc965393dfac97837749881b9771faa0
build: add support for standalone lld build

Enable building lld as a standalone project. This is motivated by the desire to
package lld for inclusion in a linux distribution. This allows building lld
against an existing paired llvm installation. Now that lld is usable on x86_64,
it makes sense to revive this configuration to allow distributions to package
it.

llvm-svn: 289421
lld/CMakeLists.txt
lld/COFF/CMakeLists.txt
lld/ELF/CMakeLists.txt