about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKjell Braden <afflux@pentabarf.de>2019-12-21 17:46:29 +0100
committerKjell Braden <afflux@pentabarf.de>2019-12-21 17:46:29 +0100
commite244f85c0b5b753aabfd4e37a2f4ca70b2a12ae0 (patch)
treed7aa41980cf89b931664461fb4cef15b76eb5a7d
parentcc151388a18576c80bd45c17044327069d744fb8 (diff)
downloadafl++-e244f85c0b5b753aabfd4e37a2f4ca70b2a12ae0.tar.gz
use llvm-config from env for version check
-rw-r--r--llvm_mode/Makefile4
1 files 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