mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix msvc bootstrap
This commit is contained in:
parent
72363ada84
commit
c3f9b90911
6
make.bat
6
make.bat
@ -11,7 +11,7 @@ git clone --depth 1 --quiet https://github.com/vlang/vc
|
|||||||
|
|
||||||
REM option to force msvc or gcc
|
REM option to force msvc or gcc
|
||||||
if "%~1"=="-gcc" goto :gccstrap
|
if "%~1"=="-gcc" goto :gccstrap
|
||||||
if "%~1"=="-msvc" goto :gccstrap
|
if "%~1"=="-msvc" goto :msvcstrap
|
||||||
|
|
||||||
goto :msvcstrap
|
goto :msvcstrap
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ if %ERRORLEVEL% GEQ 1 (
|
|||||||
)
|
)
|
||||||
|
|
||||||
echo rebuild from source
|
echo rebuild from source
|
||||||
v2.exe -o v.exe compiler
|
v2.exe -os msvc -o v.exe compiler
|
||||||
if %ERRORLEVEL% GEQ 1 (
|
if %ERRORLEVEL% GEQ 1 (
|
||||||
echo V failed to build itself
|
echo V failed to build itself
|
||||||
goto :compileerror
|
goto :compileerror
|
||||||
@ -104,4 +104,4 @@ if exist "v.exe" (
|
|||||||
) else (
|
) else (
|
||||||
echo v.exe was not generated - Create an issue at 'https://github.com/vlang'
|
echo v.exe was not generated - Create an issue at 'https://github.com/vlang'
|
||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user