changeset 4859:abbca81a98a7

7122235: stop the build if javac fails Reviewed-by: chegar, dholmes, mcimadamore, ohair
author smarks
date Sat, 17 Dec 2011 08:21:23 -0800
parents 33ac7a057b9c
children 528eb0d43e3a
files make/common/Rules.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Rules.gmk	Fri Dec 16 16:09:41 2011 +0000
+++ b/make/common/Rules.gmk	Sat Dec 17 08:21:23 2011 -0800
@@ -239,7 +239,7 @@
 	    $(CAT) $<.filtered; \
 	    $(ECHO) "# Running javac: $$numfiles files; in $(CURDIR)"; \
 	    $(ECHO) $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$<.filtered; \
-	    $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$<.filtered; \
+	    $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$<.filtered && \
 	    $(ECHO) "# javac finished"; \
 	  fi
 	@$(java-vm-cleanup)