x86_64 assembly pack: addendum to last clang commit.
[openssl.git] / crypto / modes / asm / ghash-x86_64.pl
index f88af159950fd5744eba37e88d6d9e42854e6ac2..0810c7ab9a0ceca2a5a7f61f6a38092a1b30eb52 100644 (file)
@@ -102,7 +102,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);
 }