From e244f85c0b5b753aabfd4e37a2f4ca70b2a12ae0 Mon Sep 17 00:00:00 2001 From: Kjell Braden Date: Sat, 21 Dec 2019 17:46:29 +0100 Subject: use llvm-config from env for version check --- llvm_mode/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile index f1b7cb23..5a836a0e 100644 --- a/llvm_mode/Makefile +++ b/llvm_mode/Makefile @@ -136,8 +136,8 @@ else endif ifneq "$(CLANGVER)" "$(LLVMVER)" - CC = $(shell llvm-config --bindir)/clang - CXX = $(shell llvm-config --bindir)/clang++ + CC = $(shell $(LLVM_CONFIG) --bindir)/clang + CXX = $(shell $(LLVM_CONFIG) --bindir)/clang++ endif # If prerequisites are not given, warn, do not build anything, and exit with code 0 -- cgit 1.4.1