pref: don't use tcc by default in -prod mode (#7053)
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