From ff36bd3d8589bb9f86b1ce2caef17c1e9cb54b81 Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Tue, 19 Oct 2021 23:00:45 +0000 Subject: [PATCH] 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. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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