about summary refs log tree commit diff
path: root/llvm_mode
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-12-21 21:09:19 +0100
committerGitHub <noreply@github.com>2019-12-21 21:09:19 +0100
commit65bafe71921a53bc5c4b866f3b1726f6b9f1a2d5 (patch)
tree8a21c32b5582966897b37bc85778df8395a83164 /llvm_mode
parentcc151388a18576c80bd45c17044327069d744fb8 (diff)
parent49b3c9e0a0e8c5d90ccb43dfced3b5c61c12e5bf (diff)
downloadafl++-65bafe71921a53bc5c4b866f3b1726f6b9f1a2d5.tar.gz
Merge pull request #150 from afflux/master
minor fix for llvm_mode build with non-standard paths
Diffstat (limited to 'llvm_mode')
-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