mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
cc.v: fix tcc check
This commit is contained in:
parent
c30f16a038
commit
7d02eccbce
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ start:
|
||||||
if res.exit_code == 127 {
|
if res.exit_code == 127 {
|
||||||
$if linux {
|
$if linux {
|
||||||
// TCC problems on linux? Try GCC.
|
// TCC problems on linux? Try GCC.
|
||||||
if v.pref.ccompiler == 'tcc' {
|
if v.pref.ccompiler.contains('tcc') {
|
||||||
v.pref.ccompiler = 'cc'
|
v.pref.ccompiler = 'cc'
|
||||||
goto start
|
goto start
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue