make/common/SetupJavaCompilers.gmk
changeset 41172 1de8867db5a3
parent 40611 53ba2f7abd45
child 41458 f285e333e8db
--- a/make/common/SetupJavaCompilers.gmk	Tue Oct 04 13:34:34 2016 +0200
+++ b/make/common/SetupJavaCompilers.gmk	Tue Oct 04 13:41:51 2016 +0200
@@ -38,7 +38,10 @@
 # and the interim javac, to be run by the boot jdk.
 $(eval $(call SetupJavaCompiler,BOOT_JAVAC, \
     JAVAC := $(JAVAC), \
-    FLAGS := $(BOOT_JDK_SOURCETARGET) -XDignore.symbol.file=true -g \
+    FLAGS := \
+        $(JAVA_TOOL_FLAGS_SMALL) \
+        $(BOOT_JDK_SOURCETARGET) \
+        -XDignore.symbol.file=true -g \
         -Xlint:all$(COMMA)-deprecation$(COMMA)-options -Werror, \
     DISABLE_SJAVAC := true, \
 ))