From ec5f12c11ae7681237694ecf2323b429a3a0d532 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 14 Oct 2020 13:22:23 -0700 Subject: [PATCH] Makefile.vc: remove deprecated /Gm option this was only used in debug builds, the build should be fast enough in either case. https://docs.microsoft.com/en-us/cpp/build/reference/gm-enable-minimal-rebuild?view=vs-2019 /Gm is deprecated. It may not trigger a build for certain kinds of header file changes. You may safely remove this option from your projects. To improve build times, we recommend you use precompiled headers and incremental and parallel build options instead. Change-Id: I8e3c0e7cc82e10bd1d2b0904d290fe4e050ebe8b --- Makefile.vc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.vc b/Makefile.vc index 886f981f..feb62031 100644 --- a/Makefile.vc +++ b/Makefile.vc @@ -28,7 +28,7 @@ PLATFORM_LDFLAGS = /SAFESEH NOLOGO = /nologo CCNODBG = cl.exe $(NOLOGO) /O2 /DNDEBUG -CCDEBUG = cl.exe $(NOLOGO) /Od /Gm /Zi /D_DEBUG /RTC1 +CCDEBUG = cl.exe $(NOLOGO) /Od /Zi /D_DEBUG /RTC1 CFLAGS = /I. /Isrc $(NOLOGO) /W3 /EHsc /c CFLAGS = $(CFLAGS) /DWIN32 /D_CRT_SECURE_NO_WARNINGS /DWIN32_LEAN_AND_MEAN LDFLAGS = /LARGEADDRESSAWARE /MANIFEST /NXCOMPAT /DYNAMICBASE