mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 22:00:14 +00:00
[compiler-rt] Use CMAKE_LINKER instead of hardcoding ld
Respect a custom linker path provided by the user if one is present (otherwise CMAKE_LINKER will have been set to the right value by CMake). llvm-svn: 334654
This commit is contained in:
parent
12395b7795
commit
b682276f48
@ -43,7 +43,7 @@ endfunction()
|
||||
# link for.
|
||||
function(darwin_get_toolchain_supported_archs output_var)
|
||||
execute_process(
|
||||
COMMAND ld -v
|
||||
COMMAND "${CMAKE_LINKER}" -v
|
||||
ERROR_VARIABLE LINKER_VERSION)
|
||||
|
||||
string(REGEX MATCH "configured to support archs: ([^\n]+)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user