For all assembler scripts where it matters, recognise clang > 9.x
[openssl.git] / crypto / poly1305 / asm / poly1305-x86_64.pl
index 4585397752625b79522f144db1885efc23beed72..8a469219b8b4fed6a8131d258bd19dac952c94fe 100755 (executable)
@@ -91,7 +91,7 @@ if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) &&
        $avx = ($1>=10) + ($1>=12);
 }
 
-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);
 }