Merge pull request #2402 from gxw-loongson/develop

Avoid printing the following information on mips and mips64 when check msa
This commit is contained in:
Martin Kroeker
2020-02-11 12:59:53 +01:00
committed by GitHub

View File

@@ -195,7 +195,7 @@ if (($architecture eq "mips") || ($architecture eq "mips64")) {
print $tmpf "void main(void){ __asm__ volatile($code); }\n";
$args = "$msa_flags -o $tmpf.o $tmpf";
my @cmd = ("$compiler_name $args");
my @cmd = ("$compiler_name $args >/dev/null 2>/dev/null");
system(@cmd) == 0;
if ($? != 0) {
$have_msa = 0;