x86_64 assembly pack: addendum to last clang commit.
[openssl.git] / crypto / sha / asm / sha256-mb-x86_64.pl
index a332eef0a3a398d0bfee64befcb99316aa67e25a..c48fd6d578bef3c9f1181dffc9f1db01ba6251bf 100644 (file)
@@ -59,7 +59,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);
 }