1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cc.v: fix tcc check

This commit is contained in:
Alexander Medvednikov 2019-10-25 20:11:53 +03:00
parent c30f16a038
commit 7d02eccbce

View File

@ -241,7 +241,7 @@ start:
if res.exit_code == 127 {
$if linux {
// TCC problems on linux? Try GCC.
if v.pref.ccompiler == 'tcc' {
if v.pref.ccompiler.contains('tcc') {
v.pref.ccompiler = 'cc'
goto start
}