about summary refs log tree commit diff
path: root/GNUmakefile.llvm
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-10-30 13:20:48 +0100
committerGitHub <noreply@github.com>2024-10-30 13:20:48 +0100
commitd0587a3ac46b1652b1b51b3253c9833d0ea06a13 (patch)
treef5d907aafec2fdfe4abca67f8357e9cb1b62d5f4 /GNUmakefile.llvm
parent78b7e14c73baacf1d88b3c03955e78f5080d17ba (diff)
parentd1fd072b793cba16c28249abefe73ecb7feae4f2 (diff)
downloadafl++-d0587a3ac46b1652b1b51b3253c9833d0ea06a13.tar.gz
Merge pull request #2226 from AFLplusplus/dev
push to stable
Diffstat (limited to 'GNUmakefile.llvm')
-rw-r--r--GNUmakefile.llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm
index 2e806ab8..367c437f 100644
--- a/GNUmakefile.llvm
+++ b/GNUmakefile.llvm
@@ -163,7 +163,7 @@ endif
 
 # sanity check.
 # Are versions of clang --version and llvm-config --version equal?
-CLANGVER = $(shell $(CC) --version | sed -E -ne '/^.*version\ (1?[0-9]\.[0-9]\.[0-9]).*/s//\1/p')
+CLANGVER = $(shell $(CC) --version | sed -E -ne '/^.*version\ ([12]?[0-9]\.[0-9]\.[0-9]).*/s//\1/p')
 
 # I disable this because it does not make sense with what we did before (marc)
 # We did exactly set these 26 lines above with these values, and it would break