use llvm-config from env for version check
MODIFY
llvm_mode/Makefile
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

use llvm-config from env for version check