mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: write intermediate .c files in the vtmp folder again
This commit is contained in:
parent
7d564e9791
commit
74ac9ef195
@ -62,8 +62,11 @@ pub fn compile(command string, pref &pref.Preferences) {
|
|||||||
println('all .v files:')
|
println('all .v files:')
|
||||||
println(files)
|
println(files)
|
||||||
}
|
}
|
||||||
// b.build_c(files, b.out_name_c) // v.pref.out_name + '.c')
|
mut out_name_c := get_vtmp_filename(pref.out_name, '.tmp.c')
|
||||||
b.build_c(files, pref.out_name + '.c')
|
if pref.is_so {
|
||||||
|
out_name_c = get_vtmp_filename(pref.out_name, '.tmp.so.c')
|
||||||
|
}
|
||||||
|
b.build_c(files, out_name_c)
|
||||||
b.cc()
|
b.cc()
|
||||||
}
|
}
|
||||||
if pref.is_stats {
|
if pref.is_stats {
|
||||||
|
Loading…
Reference in New Issue
Block a user