Skip to content

Commit

Permalink
vscode: build: use LLVM=1
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nunojsa committed Jan 7, 2025
1 parent a72aace commit 651d92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 651d92c

Please sign in to comment.