mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: move msvc compiler to -cc flag instead of -os (#2338)
* move msvc to -cc flag instead of -os * undo unrelated change * do first build without msvc * remvove flags temp * fix comment
This commit is contained in:
4
make.bat
4
make.bat
@@ -69,8 +69,8 @@ if %ERRORLEVEL% NEQ 0 (
|
||||
)
|
||||
|
||||
echo rebuild from source (twice, in case of C definitions changes)
|
||||
v2.exe -os msvc -o v3.exe v.v
|
||||
v3.exe -os msvc -o v.exe -prod v.v
|
||||
v2.exe -o v3.exe v.v
|
||||
v3.exe -cc msvc -o v.exe -prod v.v
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo V failed to build itself
|
||||
goto :compileerror
|
||||
|
Reference in New Issue
Block a user