builder: show tcc compiler error with -v and -showcc

pull/7052/head
Alexander Medvednikov 2020-11-30 17:47:38 +01:00
parent 434fa70584
commit 376833aea7
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ fn (mut v Builder) cc() {
} }
diff := time.ticks() - ticks diff := time.ticks() - ticks
v.timing_message('C ${ccompiler:3}', diff) v.timing_message('C ${ccompiler:3}', diff)
if v.pref.show_c_output { if v.pref.is_verbose || v.pref.show_c_output || v.pref.show_cc {
v.show_c_compiler_output(res) v.show_c_compiler_output(res)
} }
os.chdir(original_pwd) os.chdir(original_pwd)