From 52c1e5a7f971035ddae004093bcb6b070592dd9c Mon Sep 17 00:00:00 2001 From: Konrad Witaszczyk Date: Tue, 22 Oct 2024 13:49:27 +0100 Subject: [PATCH] cheribsd: use llvm-link from the SDK llvm-link is used by the kernel-c18n branch to generate an IR file of the kernel. --- pycheribuild/projects/cross/cheribsd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pycheribuild/projects/cross/cheribsd.py b/pycheribuild/projects/cross/cheribsd.py index 9e05d2bae..8e65bb502 100644 --- a/pycheribuild/projects/cross/cheribsd.py +++ b/pycheribuild/projects/cross/cheribsd.py @@ -1044,6 +1044,7 @@ def _setup_cross_toolchain_config(self) -> None: XSTRINGS=cross_bindir / "llvm-strings", XOBJCOPY=cross_bindir / "llvm-objcopy", XRANLIB=cross_bindir / "llvm-ranlib", + XLLVM_LINK=cross_bindir / "llvm-link", ) if xccinfo.is_clang and xccinfo.version < (10, 0): # llvm-ranlib didn't support -D flag (see https://bugs.llvm.org/show_bug.cgi?id=41707)