mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +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:
parent
093d8a2b00
commit
9a2b8a0814
12 changed files with 37 additions and 36 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue