diff options
author | hexcoder- <heiko@hexco.de> | 2019-10-05 15:19:32 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2019-10-05 15:19:32 +0200 |
commit | 5245ed22629260416e6d30cc80e18552d4481c23 (patch) | |
tree | 07b15f9ac01192d9de9233fe653fd97946d65fa6 | |
parent | 9e91b15b7426ca6477569a5a1128127bc461ba03 (diff) | |
download | afl++-5245ed22629260416e6d30cc80e18552d4481c23.tar.gz |
suppress errors while trying to run llvm-config, it might not be
installed.
-rw-r--r-- | llvm_mode/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile index 7f2cc870..55bfab59 100644 --- a/llvm_mode/Makefile +++ b/llvm_mode/Makefile @@ -35,10 +35,10 @@ else LLVM_CONFIG ?= llvm-config endif -LLVMVER = $(shell $(LLVM_CONFIG) --version) -LLVM_UNSUPPORTED = $(shell $(LLVM_CONFIG) --version | egrep -q '^[12]|^3\.0|^1[0-9]' && echo 1 || echo 0 ) -LLVM_MAJOR = $(shell $(LLVM_CONFIG) --version | sed 's/\..*//') -LLVM_BINDIR = $(shell $(LLVM_CONFIG) --bindir) +LLVMVER = $(shell $(LLVM_CONFIG) --version 2>/dev/null) +LLVM_UNSUPPORTED = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^[12]|^3\.0|^1[0-9]' && echo 1 || echo 0 ) +LLVM_MAJOR = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/\..*//') +LLVM_BINDIR = $(shell $(LLVM_CONFIG) --bindir 2>/dev/null) ifeq "$(LLVM_UNSUPPORTED)" "1" $(warn llvm_mode only supports versions 3.8.0 up to 9) |