Skip to content

Commit 31e698f

Browse files
committed
v.builder: show the thirdparty object compilation commands too, when using -showcc (when the cache is empty)
1 parent 18f8999 commit 31e698f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vlib/v/builder/cc.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,9 @@ fn (mut v Builder) build_thirdparty_obj_file(mod string, path string, moduleflag
11071107
v.pref.cache_manager.mod_save(mod, '.description.txt', obj_path, '${obj_path:-30} @ ${cmd}\n') or {
11081108
panic(err)
11091109
}
1110+
if v.pref.show_cc {
1111+
println('>> OBJECT FILE compilation cmd: ${cmd}')
1112+
}
11101113
$if trace_thirdparty_obj_files ? {
11111114
if res.output != '' {
11121115
println(res.output)

0 commit comments

Comments
 (0)