llvm.org GIT mirror llvm / 4f013f8
config-ix.cmake: Search for CMAKE_XCRUN before using it. This was previously searched in CMakeLists.txt unconditionally but as of r294371 it is only searched in some circumstances. Repeating the search in config-ix.cmake to make this robust and hopefully fix the macOS Asan+Ubsan jenkins build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294811 91177308-0d34-0410-b5e6-96231b3b80d8 Matthias Braun 3 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
545545 "PATH to binutils/include containing plugin-api.h for gold plugin.")
546546
547547 if(CMAKE_HOST_APPLE AND APPLE)
548 if(NOT CMAKE_XCRUN)
549 find_program(CMAKE_XCRUN NAMES xcrun)
550 endif()
548551 if(CMAKE_XCRUN)
549552 execute_process(COMMAND ${CMAKE_XCRUN} -find ld
550553 OUTPUT_VARIABLE LD64_EXECUTABLE