Ignore vendor name in Clang version number.
[openssl.git] / crypto / poly1305 / asm / poly1305-x86_64.pl
index dbcd0463cbbb30272ebd34ca1490a01d7227a28b..fa9bfb7a7b814c6051c78986581e7c2b3400a93c 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) ([0-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);
 }