svn commit: r403465 - head/java/openjdk8
Jung-uk Kim
jkim at FreeBSD.org
Thu Dec 10 19:37:09 UTC 2015
Author: jkim
Date: Thu Dec 10 19:37:07 2015
New Revision: 403465
URL: https://svnweb.freebsd.org/changeset/ports/403465
Log:
Work around build failures with Poudriere. We have to limit max heap size
when building 32-bit targets on a 64-bit host for some unknown reason.
Modified:
head/java/openjdk8/Makefile
Modified: head/java/openjdk8/Makefile
==============================================================================
--- head/java/openjdk8/Makefile Thu Dec 10 18:43:51 2015 (r403464)
+++ head/java/openjdk8/Makefile Thu Dec 10 19:37:07 2015 (r403465)
@@ -270,6 +270,12 @@ AUTOCONF_ARGS= -I . -o generated-configu
.include <bsd.port.pre.mk>
+.if ${ARCH:Marmv6*} || ${ARCH} == "i386"
+# XXX We must limit max heap size for 32-bit targets.
+CONFIGURE_ARGS+= --with-boot-jdk-jvmargs="-Xmx768m"
+MAKE_ENV+= JAVADOC_CMD_MEM="-Xmx768m"
+.endif
+
.if ${ARCH} == "armv6"
# From NetBSD http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/openjdk7/hacks.mk
# Workaround incorrect constant folding of subnormals in javac when the FPU
More information about the svn-ports-head
mailing list