8222264: Windows incremental build is broken with JDK-8217728
authorrschmelter
Wed, 10 Apr 2019 05:15:50 -0700
changeset 54491 a805bf992bf1
parent 54490 bf07e140c49c
child 54492 9d0ae9508d53
8222264: Windows incremental build is broken with JDK-8217728 Reviewed-by: erikj, clanger
make/common/NativeCompilation.gmk
--- a/make/common/NativeCompilation.gmk	Wed Apr 10 07:04:35 2019 -0700
+++ b/make/common/NativeCompilation.gmk	Wed Apr 10 05:15:50 2019 -0700
@@ -372,6 +372,7 @@
 	  $(ECHO) $$@: \\ > $$($1_DEPS_FILE) ; \
 	  $(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_OBJ).log \
 	      | $(SORT) -u >> $$($1_DEPS_FILE) ; \
+	  $(ECHO) >> $$($1_DEPS_FILE) ; \
 	  $(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEPS_FILE) > $$($1_DEPS_TARGETS_FILE)
         endif
   endif
@@ -843,6 +844,7 @@
 		$(ECHO) $$($1_RES): \\ > $$($1_RES_DEPS_FILE) ; \
 		$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_RES_DEPS_FILE).obj.log \
 		    >> $$($1_RES_DEPS_FILE) ; \
+		$(ECHO) >> $$($1_RES_DEPS_FILE) ;\
 		$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_RES_DEPS_FILE) \
 		    > $$($1_RES_DEPS_TARGETS_FILE)
     endif