1 diff --git a/Makefile b/Makefile
2 index 84b4527f..01fd2b21 100644
5 @@ -193,7 +193,7 @@ $(warning Your system does not have gtk3/gtk2, disabling test-inspect)
8 # Can we use LLVM (needed for ... sparse-llvm)?
9 -LLVM_CONFIG:=llvm-config
10 +LLVM_CONFIG:=llvm-config-14
11 HAVE_LLVM:=$(shell $(LLVM_CONFIG) --version >/dev/null 2>&1 && echo 'yes')
12 ifeq ($(HAVE_LLVM),yes)
13 arch := $(shell uname -m)
14 diff --git a/sparse-llvm-dis b/sparse-llvm-dis
15 index 2958217b..453fcf85 100755
22 -DIS=$("${LLVM_CONFIG:-llvm-config}" --bindir)/llvm-dis
23 +DIS=$("${LLVM_CONFIG:-llvm-config-14}" --bindir)/llvm-dis
26 echo "$(basename $0): no input files"
27 diff --git a/sparsec b/sparsec
28 index 3f9b60c6..0d24ffe8 100755
31 @@ -32,7 +32,7 @@ done
32 TMPFILE=`mktemp -t tmp.XXXXXX`
35 -LLC=`"${LLVM_CONFIG:-llvm-config}" --bindir`/llc
36 +LLC=`"${LLVM_CONFIG:-llvm-config-14}" --bindir`/llc
40 diff --git a/sparsei b/sparsei
41 index 3232200e..bfd33f7e 100755
44 @@ -6,7 +6,7 @@ SPARSEOPTS=
48 -LLI=`"${LLVM_CONFIG:-llvm-config}" --bindir`/lli
49 +LLI=`"${LLVM_CONFIG:-llvm-config-14}" --bindir`/lli
52 echo "`basename $0`: no input files"