From 651d92c236a8aac33ba7de0300d922222ad1e5e5 Mon Sep 17 00:00:00 2001 From: Nuno Sa Date: Tue, 7 Jan 2025 17:03:12 +0000 Subject: [PATCH] vscode: build: use LLVM=1 Instead of just passing the compiler as CLANG, pass LLVM=1 which will enable the complete LLVM suite of tools (binutils and things like that). Seems to fix issues with running sparse. Signed-off-by: Nuno Sa --- vscode/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vscode/build.sh b/vscode/build.sh index 695c407..a72bc5d 100755 --- a/vscode/build.sh +++ b/vscode/build.sh @@ -45,4 +45,4 @@ esac [[ -d ${vivado} ]] && source ${vivado}/Vivado/*/settings64.sh } -make ARCH=${arch} CROSS_COMPILE=${cross_compile} CC=clang ${opt} ${file} -j$(nproc) +make ARCH=${arch} LLVM=1 ${opt} ${file} -j$(nproc)