From b23984a211cb22420c124178f60041825e1f556a Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 18 Oct 2021 13:28:09 +0300 Subject: [PATCH] builder: only print the thirdparty object rebuilding line with '-v' --- vlib/v/builder/cc.v | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vlib/v/builder/cc.v b/vlib/v/builder/cc.v index 60a4d50214..6e7dfc2f83 100644 --- a/vlib/v/builder/cc.v +++ b/vlib/v/builder/cc.v @@ -880,8 +880,9 @@ fn (mut v Builder) build_thirdparty_obj_file(path string, moduleflags []cflag.CF os.cp(obj_path, opath) or { panic(err) } return } - println(rebuild_reason_message) - // + if v.pref.is_verbose { + println(rebuild_reason_message) + } // prepare for tcc, it needs relative paths to thirdparty/tcc to work: current_folder := os.getwd() os.chdir(os.dir(pref.vexe_path())) or {}