For all assembler scripts where it matters, recognise clang > 9.x
[openssl.git] / crypto / sha / asm / sha1-mb-x86_64.pl
index 0804c580be57a2b5d65cd5dc6f04e8dda63b6d7f..2da2ffffe5d6bc94259ee201912d782e1f686013 100644 (file)
@@ -67,7 +67,7 @@ if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) &&
        $avx = ($1>=10) + ($1>=11);
 }
 
-if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|.*based on LLVM) ([3-9]\.[0-9]+)/) {
+if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) {
        $avx = ($2>=3.0) + ($2>3.0);
 }