1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cc: hide a print behind -v

This commit is contained in:
Alexander Medvednikov 2020-12-31 14:24:26 +01:00
parent 74ea5ac99f
commit f7b3ed2f4a

View File

@ -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
}
}