summaryrefslogtreecommitdiffstats
path: root/crypto/sha/asm/sha512-x86_64.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-06-24 08:37:05 +0200
committerAndy Polyakov <appro@openssl.org>2014-06-24 08:37:05 +0200
commit7eb048828008f195fb6edceb8f767622694e7426 (patch)
treeab39968a88362752e1f289d350de904576384528 /crypto/sha/asm/sha512-x86_64.pl
parentx86_64 assembly pack: allow clang to compile AVX code. (diff)
downloadopenssl-7eb048828008f195fb6edceb8f767622694e7426.tar.xz
openssl-7eb048828008f195fb6edceb8f767622694e7426.zip
x86_64 assembly pack: addendum to last clang commit.
Diffstat (limited to '')
-rwxr-xr-xcrypto/sha/asm/sha512-x86_64.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/asm/sha512-x86_64.pl b/crypto/sha/asm/sha512-x86_64.pl
index 4b16c5f5b7..43a6a83fe3 100755
--- a/crypto/sha/asm/sha512-x86_64.pl
+++ b/crypto/sha/asm/sha512-x86_64.pl
@@ -123,7 +123,7 @@ if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) &&
$avx = ($1>=10) + ($1>=11);
}
-if (!$avx && `$ENV{CC} -v` =~ /LLVM ([3-9]\.[0-9]+)/) {
+if (!$avx && `$ENV{CC} -v 2>&1` =~ /LLVM ([3-9]\.[0-9]+)/) {
$avx = ($1>=3.0) + ($1>=3.1);
}