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:
commit
6ccbb089c2
2
c_check
2
c_check
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue