diff options
author | Andy Polyakov <appro@openssl.org> | 2015-12-07 22:59:11 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-12-13 22:18:18 +0100 |
commit | b9749432346f69b29d82070041e71b237d718ce7 (patch) | |
tree | 98a4903c6876c2d3ef957aa931c4a09e723fe05a /crypto/sha/asm/sha1-x86_64.pl | |
parent | 22c2e80f89327c1287924781a9cfa698dd1b15a6 (diff) | |
download | openssl-b9749432346f69b29d82070041e71b237d718ce7.zip openssl-b9749432346f69b29d82070041e71b237d718ce7.tar.gz openssl-b9749432346f69b29d82070041e71b237d718ce7.tar.bz2 |
x86_64 assembly pack: tune clang version detection even further.
RT#4171
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'crypto/sha/asm/sha1-x86_64.pl')
-rwxr-xr-x | crypto/sha/asm/sha1-x86_64.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/asm/sha1-x86_64.pl b/crypto/sha/asm/sha1-x86_64.pl index b35bb0a..8827886 100755 --- a/crypto/sha/asm/sha1-x86_64.pl +++ b/crypto/sha/asm/sha1-x86_64.pl @@ -108,7 +108,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) ([2-9]\.[0-9]+)/) { +if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|.*based on LLVM) ([2-9]\.[0-9]+)/) { $avx = ($2>=3.0) + ($2>3.0); } |