From f7b3ed2f4ae2a29a7e0b3ec70444f0747539f9d8 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 31 Dec 2020 14:24:26 +0100 Subject: [PATCH] cc: hide a print behind -v --- vlib/v/builder/cc.v | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vlib/v/builder/cc.v b/vlib/v/builder/cc.v index 3482cb48b0..f4994eccef 100644 --- a/vlib/v/builder/cc.v +++ b/vlib/v/builder/cc.v @@ -626,7 +626,9 @@ fn (mut v Builder) cc() { } if v.pref.retry_compilation { v.pref.ccompiler = pref.default_c_compiler() - eprintln('Compilation with tcc failed. Retrying with $v.pref.ccompiler ...') + if v.pref.is_verbose { + eprintln('Compilation with tcc failed. Retrying with $v.pref.ccompiler ...') + } continue } }