mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pref: don't use tcc by default in -prod mode (#7053)
This commit is contained in:
parent
be7c88ec35
commit
83137cbe84
@ -106,6 +106,10 @@ fn (mut p Preferences) try_to_use_tcc_by_default() {
|
||||
$if macos {
|
||||
return
|
||||
}
|
||||
// use an optimizing compiler (i.e. gcc or clang) on -prod mode
|
||||
if p.is_prod {
|
||||
return
|
||||
}
|
||||
p.ccompiler = default_tcc_compiler()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user