Skip to content

Commit f2fe971

Browse files
committed
make.bat: add /F 16777216 option to cl.exe, to fix msvc v.exe bootstrapping
1 parent ae1fa8a commit f2fe971

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎make.bat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ if exist "%InstallDir%/Common7/Tools/vsdevcmd.bat" (
214214
set ObjFile=.v.c.obj
215215

216216
echo ^> Attempting to build "%V_BOOTSTRAP%" (from v_win.c) with MSVC
217-
cl.exe /volatile:ms /Fo%ObjFile% /W0 /MD /D_VBOOTSTRAP "vc/v_win.c" user32.lib kernel32.lib advapi32.lib shell32.lib ws2_32.lib /link /nologo /out:"%V_BOOTSTRAP%" /incremental:no
217+
cl.exe /volatile:ms /Fo%ObjFile% /W0 /MD /D_VBOOTSTRAP /F 16777216 "vc/v_win.c" user32.lib kernel32.lib advapi32.lib shell32.lib ws2_32.lib /link /nologo /out:"%V_BOOTSTRAP%" /incremental:no
218218
if %ERRORLEVEL% NEQ 0 (
219219
echo In some cases, compile errors happen because of the MSVC compiler version
220220
cl.exe

0 commit comments

Comments
 (0)