cc: hide a print behind -v

pull/7750/head
Alexander Medvednikov 2020-12-31 14:24:26 +01:00
parent 74ea5ac99f
commit f7b3ed2f4a
1 changed files with 3 additions and 1 deletions

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