1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[CMake] Also search for prefixed versions of ld.gold

llvm-svn: 236312
This commit is contained in:
Niels Ole Salscheider 2015-05-01 11:58:30 +00:00
parent a7771fd9f0
commit 1fd7063a03

View File

@ -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.")