diff -r f8b190ea8955 -r 3b002da2aee1 make/common/SetupJavaCompilers.gmk --- a/make/common/SetupJavaCompilers.gmk Mon Sep 15 12:23:32 2014 -0700 +++ b/make/common/SetupJavaCompilers.gmk Tue Sep 16 12:08:04 2014 +0200 @@ -34,6 +34,12 @@ # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000" JAVAC_WARNINGS := -Xlint:all,-deprecation -Werror +# The BOOT_JAVAC setup uses the boot jdk compiler to compile the tools +# and the interim javac, to be run by the boot jdk. +$(eval $(call SetupJavaCompiler,BOOT_JAVAC, \ + JAVAC := $(JAVAC), \ + FLAGS := -XDignore.symbol.file=true -g -Xlint:all$(COMMA)-deprecation -Werror)) + # Any java code executed during a JDK build to build other parts of the JDK must be # executed by the bootstrap JDK (probably with -Xbootclasspath/p: ) and for this # purpose must be built with -target PREVIOUS for bootstrapping purposes, which