mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: fix building_v
This commit is contained in:
parent
b237ffcf09
commit
6a951751f7
@ -885,7 +885,7 @@ pub fn new_v(args[]string) &V {
|
|||||||
build_mode: build_mode
|
build_mode: build_mode
|
||||||
cflags: cflags
|
cflags: cflags
|
||||||
ccompiler: find_c_compiler()
|
ccompiler: find_c_compiler()
|
||||||
building_v: !is_repl && (rdir_name == 'compiler' || dir.contains('vlib'))
|
building_v: !is_repl && (rdir_name == 'compiler' || dir == 'v.v' || dir.contains('vlib'))
|
||||||
}
|
}
|
||||||
if pref.is_verbose || pref.is_debug {
|
if pref.is_verbose || pref.is_debug {
|
||||||
println('C compiler=$pref.ccompiler')
|
println('C compiler=$pref.ccompiler')
|
||||||
|
Loading…
Reference in New Issue
Block a user