[compiler-rt] [compiler-rt] Check codesign in path before using (PR #99837)
Tristan Ross via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 08:45:00 PDT 2024
================
@@ -403,7 +404,7 @@ function(add_compiler_rt_runtime name type)
# argument and looking for `invalid argument "linker-signed"` in its output.
# FIXME: Remove this once all supported toolchains support `-o linker-signed`.
execute_process(
- COMMAND sh -c "codesign -f -s - -o linker-signed this-does-not-exist 2>&1 | grep -q linker-signed"
+ COMMAND sh -c "${CODESIGN} -f -s - -o linker-signed this-does-not-exist 2>&1 | grep -q linker-signed"
RESULT_VARIABLE CODESIGN_SUPPORTS_LINKER_SIGNED
)
----------------
RossComputerGuy wrote:
Done
https://github.com/llvm/llvm-project/pull/99837
More information about the llvm-commits
mailing list