make.bat: fix incorrect sequence in checking for a valid C compiler (#7050)

pull/7052/head
heronwr 2020-11-30 10:52:43 -05:00 committed by GitHub
parent a98162118b
commit 434fa70584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -226,6 +226,7 @@ if %ERRORLEVEL% NEQ 0 goto :compile_error
goto :success
:tcc_strap
if [!compiler!] == [] set /a invalid_cc=1
echo ^> Attempting to build v.c with TCC
call :buildcmd ""!tcc_exe!" -std=c99 -municode -lws2_32 -lshell32 -ladvapi32 -bt10 -w -o v.exe vc\v_win.c" " "
if %ERRORLEVEL% NEQ 0 goto :compile_error
@ -236,7 +237,6 @@ if %ERRORLEVEL% NEQ 0 goto :compile_error
goto :success
:download_tcc
if [!compiler!] == [] set /a invalid_cc=1
pushd %tcc_dir% 2>NUL && (
echo Updating TCC
echo ^> Syncing TCC from !tcc_url!