mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: don't pass -usecache linker flags when building modules
This commit is contained in:
parent
60c936a688
commit
12d5720841
@ -466,7 +466,7 @@ fn (mut v Builder) cc() {
|
||||
args << '-w'
|
||||
}
|
||||
// TODO: why is this duplicated from above?
|
||||
if v.pref.use_cache {
|
||||
if v.pref.use_cache && v.pref.build_mode != .build_module {
|
||||
// vexe := pref.vexe_path()
|
||||
// cached_modules := ['builtin', 'os', 'math', 'strconv', 'strings', 'hash'], // , 'strconv.ftoa']
|
||||
// for cfile in cached_modules {
|
||||
|
Loading…
Reference in New Issue
Block a user