Bug 389401 - Build horked using VC71 and make -jN, r=cls
authorbenjamin@smedbergs.us
Wed, 25 Jul 2007 06:56:04 -0700
changeset 3952 6bdddae704656293f2ddcd8c4e4a95596543388f
parent 3951 3e4c54809c17018aa8be1ffd3fd2657013bc94bb
child 3953 49fc7bb9d38d63786e0a21bc66fb26f9b36d4ba1
push idunknown
push userunknown
push dateunknown
reviewerscls
bugs389401
milestone1.9a7pre
Bug 389401 - Build horked using VC71 and make -jN, r=cls
config/rules.mk
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -2127,16 +2127,24 @@ TAGS:: $(CSRCS) $(CPPSRCS) $(HEADERS)
 	$(ETAGS) $(CSRCS) $(CPPSRCS) $(HEADERS)
 endif
 endif
 
 ################################################################################
 # Special gmake rules.
 ################################################################################
 
+
+#
+# Disallow parallel builds with MSVC < 8
+#
+ifneq (,$(filter 1200 1300 1310,$(_MSC_VER)))
+.NOTPARALLEL:
+endif
+
 #
 # Re-define the list of default suffixes, so gmake won't have to churn through
 # hundreds of built-in suffix rules for stuff we don't need.
 #
 .SUFFIXES:
 .SUFFIXES: .out .a .ln .o .c .cc .C .cpp .y .l .s .S .h .sh .i .pl .class .java .html .pp .mk .in .$(OBJ_SUFFIX) .m .mm .idl $(BIN_SUFFIX)
 
 #