mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 10:32:48 +02:00
Allow building the gold plugin even if the gold binary is not found.
The gold binary is not required to build the plugin. All that is needed is for LLVM_BINUTILS_INCDIR to point to the directory containing plugin-api.h. llvm-svn: 235918
This commit is contained in:
parent
5f0f3e8528
commit
5f983534c5
@ -527,10 +527,8 @@ else()
|
||||
endif()
|
||||
|
||||
find_program(GOLD_EXECUTABLE NAMES ld.gold ld DOC "The gold linker")
|
||||
if(GOLD_EXECUTABLE)
|
||||
set(LLVM_BINUTILS_INCDIR "" CACHE PATH
|
||||
"PATH to binutils/include containing plugin-api.h for gold plugin.")
|
||||
endif()
|
||||
set(LLVM_BINUTILS_INCDIR "" CACHE PATH
|
||||
"PATH to binutils/include containing plugin-api.h for gold plugin.")
|
||||
|
||||
if(APPLE)
|
||||
find_program(LD64_EXECUTABLE NAMES ld DOC "The ld64 linker")
|
||||
|
Loading…
Reference in New Issue
Block a user