From c3f9b909113eae04e3708d8cb02c4a665f3ceab7 Mon Sep 17 00:00:00 2001 From: MoGu Date: Sat, 31 Aug 2019 15:09:40 +0800 Subject: [PATCH] fix msvc bootstrap --- make.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make.bat b/make.bat index de2b3b670d..ac7e8085ad 100644 --- a/make.bat +++ b/make.bat @@ -11,7 +11,7 @@ git clone --depth 1 --quiet https://github.com/vlang/vc REM option to force msvc or gcc if "%~1"=="-gcc" goto :gccstrap -if "%~1"=="-msvc" goto :gccstrap +if "%~1"=="-msvc" goto :msvcstrap goto :msvcstrap @@ -67,7 +67,7 @@ if %ERRORLEVEL% GEQ 1 ( ) echo rebuild from source -v2.exe -o v.exe compiler +v2.exe -os msvc -o v.exe compiler if %ERRORLEVEL% GEQ 1 ( echo V failed to build itself goto :compileerror @@ -104,4 +104,4 @@ if exist "v.exe" ( ) else ( echo v.exe was not generated - Create an issue at 'https://github.com/vlang' exit /b 1 -) \ No newline at end of file +)