common/autoconf/bootcycle-spec.gmk.in
changeset 34105 ce71d2b2f34b
parent 30093 c8c926543552
child 36506 17612cee3530
--- a/common/autoconf/bootcycle-spec.gmk.in	Wed Nov 25 15:56:29 2015 +0100
+++ b/common/autoconf/bootcycle-spec.gmk.in	Fri Nov 27 16:29:22 2015 +0100
@@ -59,3 +59,8 @@
 JAR_CMD:=$(BOOT_JDK)/bin/jar
 JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
 SJAVAC_SERVER_JAVA_CMD:=$(JAVA_CMD)
+# When building a 32bit target, make sure the sjavac server flags are compatible
+# with a 32bit JVM.
+ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
+  SJAVAC_SERVER_JAVA_FLAGS:= -Xms256M -Xmx1500M
+endif