Browse Source
Merge pull request #2402 from gxw-loongson/develop
Avoid printing the following information on mips and mips64 when check msa
tags/v0.3.9
Martin Kroeker
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
|