about summary refs log tree commit diff
path: root/GNUmakefile.llvm
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-10-15 15:18:51 +0200
committervanhauser-thc <vh@thc.org>2024-10-15 15:18:51 +0200
commit20c46c0ed6465d49034939416efc979674425dd6 (patch)
tree6888b8566a71a8806914037d93b7500f6a8c4e5d /GNUmakefile.llvm
parentb3d16f7b8c19c3fb06cdbb2ef8df977b6b674b59 (diff)
downloadafl++-20c46c0ed6465d49034939416efc979674425dd6.tar.gz
nits
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