From 5cb745f2c906f0601a0355814e3c947b7ae92fd5 Mon Sep 17 00:00:00 2001 From: sunny-g Date: Fri, 2 Jun 2023 09:52:10 -0500 Subject: [PATCH] use user-provided llvm-link --- cmake/LLVMIRUtil.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/LLVMIRUtil.cmake b/cmake/LLVMIRUtil.cmake index 3afb6eb..3a9f01d 100644 --- a/cmake/LLVMIRUtil.cmake +++ b/cmake/LLVMIRUtil.cmake @@ -675,7 +675,7 @@ function(llvmir_attach_link_target) set_property(TARGET ${TRGT} PROPERTY LLVMIR_SHORT_NAME ${SHORT_NAME}) add_custom_command(OUTPUT ${FULL_OUT_LLVMIR_FILE} - COMMAND llvm-link + COMMAND ${LLVMIR_LINK} ARGS ${LLVMIR_ATTACH_UNPARSED_ARGUMENTS} -o ${FULL_OUT_LLVMIR_FILE} ${IN_FULL_LLVMIR_FILES}