diff options
author | aflpp <aflpp@aflplus.plus> | 2021-02-13 09:29:35 +0100 |
---|---|---|
committer | aflpp <aflpp@aflplus.plus> | 2021-02-13 09:29:35 +0100 |
commit | 129a5adaf1cd5d1b602c49342badf586b415ca30 (patch) | |
tree | b6b2c00be6385c8175cb46c83fc422de97c3ea6f | |
parent | d827bc458061bc4320e25a27fd77cdbc4bba47ba (diff) | |
download | afl++-129a5adaf1cd5d1b602c49342badf586b415ca30.tar.gz |
fix
-rw-r--r-- | GNUmakefile.llvm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm index c23af200..cc332f6c 100644 --- a/GNUmakefile.llvm +++ b/GNUmakefile.llvm @@ -43,7 +43,7 @@ endif LLVMVER = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/git//' | sed 's/svn//' ) LLVM_MAJOR = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/\..*//' ) LLVM_MINOR = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/.*\.//' | sed 's/git//' | sed 's/svn//' | sed 's/ .*//' ) -LLVM_UNSUPPORTED = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^[0-2]\.|3\.[0-3]' && echo 1 || echo 0 ) +LLVM_UNSUPPORTED = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^3\.[0-3]|^[0-2]\.' && echo 1 || echo 0 ) LLVM_TOO_NEW = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^1[3-9]' && echo 1 || echo 0 ) LLVM_NEW_API = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^1[0-9]' && echo 1 || echo 0 ) LLVM_10_OK = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^1[1-9]|^10\.[1-9]|^10\.0.[1-9]' && echo 1 || echo 0 ) @@ -59,7 +59,7 @@ ifeq "$(LLVMVER)" "" endif ifeq "$(LLVM_UNSUPPORTED)" "1" - $(warning llvm_mode only supports llvm versions 3.4 up to 12) + $(error llvm_mode only supports llvm from version 3.4 onwards) endif ifeq "$(LLVM_TOO_NEW)" "1" |