diff --git a/build.win32x86/common/Makefile.msvc.tools b/build.win32x86/common/Makefile.msvc.tools index b15152112d..abdd78ed79 100644 --- a/build.win32x86/common/Makefile.msvc.tools +++ b/build.win32x86/common/Makefile.msvc.tools @@ -68,8 +68,8 @@ DEFS:= $(COGDEFS) $(MEMACCESS) $(WINVER) \ ############################################################################# # Linker settings # -LD:= LINK /nologo /MACHINE:$(MACHINE) -LDCXX:= LINK /nologo /MACHINE:$(MACHINE) +LD:= LINK /nologo /MACHINE:$(MACHINE) /INCREMENTAL:NO +LDCXX:= LINK /nologo /MACHINE:$(MACHINE) /INCREMENTAL:NO LIBRARIAN:=LIB /nologo # dlltool is used to create import libraries. The alternatives are # Digital Mars' IMPLIB.EXE (32-bit only?) and mbarcadero's MKEXP.EXE (64-bit) diff --git a/build.win64x64/common/Makefile.msvc.tools b/build.win64x64/common/Makefile.msvc.tools index 4ca56e5555..c9f0cc9138 100644 --- a/build.win64x64/common/Makefile.msvc.tools +++ b/build.win64x64/common/Makefile.msvc.tools @@ -76,8 +76,8 @@ DEFS:= -D$(VM)VM=1 $(COGDEFS) $(MEMACCESS) $(WINVER) \ ############################################################################# # Linker settings # -LD:= LINK /nologo /MACHINE:$(MACHINE) -LDCXX:= LINK /nologo /MACHINE:$(MACHINE) +LD:= LINK /nologo /MACHINE:$(MACHINE) /INCREMENTAL:NO +LDCXX:= LINK /nologo /MACHINE:$(MACHINE) /INCREMENTAL:NO LIBRARIAN:=LIB /nologo # dlltool is used to create import libraries. The alternatives are # Digital Mars' IMPLIB.EXE (32-bit only?) and mbarcadero's MKEXP.EXE (64-bit)