Browse Source

Avoid printing the following information on mips and mips64 platform when check msa:

"unrecognized command line option ‘-mmsa’"
pull/2401/head
gxw 6 years ago
parent
commit
137fd21fea
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      c_check

+ 1
- 1
c_check 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 -x c $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…
Cancel
Save