From 137fd21fea170dae6a5f4563d250f0b644b44a0c Mon Sep 17 00:00:00 2001 From: gxw Date: Mon, 10 Feb 2020 18:49:50 +0800 Subject: [PATCH] =?UTF-8?q?Avoid=20printing=20the=20following=20informatio?= =?UTF-8?q?n=20on=20mips=20and=20mips64=20platform=20when=20check=20msa:?= =?UTF-8?q?=20"unrecognized=20command=20line=20option=20=E2=80=98-mmsa?= =?UTF-8?q?=E2=80=99"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_check b/c_check index 3d82aa73c..20d070496 100644 --- a/c_check +++ b/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 -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;