mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 07:43:37 +00:00
[CMake] Also search for prefixed versions of ld.gold
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80683c0be6
commit
16b7c0f4fb
@ -526,7 +526,7 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
find_program(GOLD_EXECUTABLE NAMES ld.gold ld DOC "The gold linker")
|
||||
find_program(GOLD_EXECUTABLE NAMES ${LLVM_DEFAULT_TARGET_TRIPLE}-ld.gold ld.gold ${LLVM_DEFAULT_TARGET_TRIPLE}-ld ld DOC "The gold linker")
|
||||
set(LLVM_BINUTILS_INCDIR "" CACHE PATH
|
||||
"PATH to binutils/include containing plugin-api.h for gold plugin.")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user