Browse Source

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

"unrecognized command line option ‘-mmsa’"
tags/v0.3.9
gxw 5 years ago
parent
commit
754433f420
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 $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