From cbf08f290ec19b28da8a7319ad5b64d374d09def Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 9 Sep 2018 02:54:12 +0200 Subject: [PATCH] Enable PCH for both builds /Zi is needed for PCH as well as PDB, since it dosn't change the resulting exe and can speed up build time a lot this switches it on for all builds --- MakefileVC | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MakefileVC b/MakefileVC index 351353fcf..ad7fb331d 100644 --- a/MakefileVC +++ b/MakefileVC @@ -31,12 +31,11 @@ else VC6_LINK = wine $(VC6_BIN_DIR)/link.exe endif -CFLAGS=/nologo /c /GX /W3 /O1 /I $(VC6_INC_DIR) /FD /MT /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fp"Diablo.pch" /YX /Gm +CFLAGS=/nologo /c /GX /W3 /O1 /I $(VC6_INC_DIR) /FD /MT /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fp"Diablo.pch" /YX /Gm /Zi LINKFLAGS=/nologo /subsystem:windows /machine:I386 /incremental:no ifeq ($(MAKE_BUILD),pdb) VC_LINK = $(VC6_LINK) - CFLAGS += /Zi LINKFLAGS += /pdb:"Diablo.pdb" /LIBPATH:$(VC6_LIB_DIR) /debug else VC_LINK=$(VC5_LINK)