summaryrefslogtreecommitdiff
path: root/build_w32.bat
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2016-05-01 15:34:42 -0400
committerPaul Smith <psmith@gnu.org>2016-05-21 16:21:31 -0400
commit6f7fb050b4af7335de259f570b75bf6c217eb1cd (patch)
tree21cfcad4bfb2d24b0966b742d9141e0323de501d /build_w32.bat
parent45200a42d3de9a022584f98200ec141f46dcdf95 (diff)
downloadmake-git-6f7fb050b4af7335de259f570b75bf6c217eb1cd.tar.gz
Fix compile issues with Windows and VMS.
* main.c (initialize_stopchar_map): isblank() is not part of C89. Install bits for space and tab directly. * makeint.h: Don't define vfork; autoconf handles this for us. * vmsjobs.c: Rename NEXT_TOKEN to V_NEXT_TOKEN to avoid conflicts. * dir.c (print_dir_data_base): Visual Studio C doesn't have int64_t. * w32/subproc/sub_proc.c (process_begin): Missing arg to memset(). * build_w32.bat: Don't use obsolete Visual Studio flags.
Diffstat (limited to 'build_w32.bat')
-rwxr-xr-xbuild_w32.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_w32.bat b/build_w32.bat
index 9d752581..59e068b6 100755
--- a/build_w32.bat
+++ b/build_w32.bat
@@ -149,7 +149,7 @@ if "%COMPILER%" == "gcc" goto GccCompile
:: MSVC Compile
echo on
-cl.exe /nologo /MT /W4 /GX /YX %OPTS% /I %OUTDIR% /I . /I glob /I w32/include /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR%OUTDIR% /Fp%OUTDIR%\%MAKE%.pch /Fo%OUTDIR%\%1.obj /Fd%OUTDIR%\%MAKE%.pdb %EXTRAS% /c %1.c
+cl.exe /nologo /MT /W4 /EHsc %OPTS% /I %OUTDIR% /I . /I glob /I w32/include /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR%OUTDIR% /Fp%OUTDIR%\%MAKE%.pch /Fo%OUTDIR%\%1.obj /Fd%OUTDIR%\%MAKE%.pdb %EXTRAS% /c %1.c
@echo off
echo %OUTDIR%\%1.obj >>%OUTDIR%\link.sc
goto :EOF