builder: only print the thirdparty object rebuilding line with '-v'

pull/12211/head
Delyan Angelov 2021-10-18 13:28:09 +03:00
parent 53c2e262f1
commit b23984a211
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 3 additions and 2 deletions

View File

@ -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) } os.cp(obj_path, opath) or { panic(err) }
return return
} }
if v.pref.is_verbose {
println(rebuild_reason_message) println(rebuild_reason_message)
// }
// prepare for tcc, it needs relative paths to thirdparty/tcc to work: // prepare for tcc, it needs relative paths to thirdparty/tcc to work:
current_folder := os.getwd() current_folder := os.getwd()
os.chdir(os.dir(pref.vexe_path())) or {} os.chdir(os.dir(pref.vexe_path())) or {}