aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2021-10-19 23:00:45 +0000
committerYawning Angel <yawning@schwanenlied.me>2021-10-31 20:23:03 +0000
commitff36bd3d8589bb9f86b1ce2caef17c1e9cb54b81 (patch)
treeddc026d39b3d62fbbaba5d5a90579f22b1b6fcdd /Makefile
parent141299eb02bc9a7330daa30d75d279e84ba28cc3 (diff)
build: Support the Fedora LLVM 11 package
Fedora is on LLVM 12, and the backward compatibility package has a non-standard name for llvm-config.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fa07ec689..23fb7be66 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ ifeq ($(OS), Linux)
LLVM_CONFIG=llvm-config-11
ifneq ($(shell which llvm-config-11 2>/dev/null),)
LLVM_CONFIG=llvm-config-11
+ else ifneq ($(shell which llvm-config-11-64 2>/dev/null),)
+ LLVM_CONFIG=llvm-config-11-64
else
ifneq ($(shell llvm-config --version | grep '^11\.'),)
LLVM_CONFIG=llvm-config