summaryrefslogtreecommitdiff
path: root/java/openjdk8
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-12-14 23:20:05 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-12-14 23:20:05 +0000
commit37874e53640022f08ec68b9dd8e33e06b1111584 (patch)
tree28c39a9c6f61c603f495f5040d2aacd8fe7cc5b4 /java/openjdk8
parentAllow java/openjdk7 for bootstrapping java/openjdk8. Although we cannot (diff)
Build with sjavac when we are self-hosting to improve build speed.
Notes
Notes: svn path=/head/; revision=403748
Diffstat (limited to 'java/openjdk8')
-rw-r--r--java/openjdk8/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index b3ed018e987f..6654a7e0c1f7 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -330,6 +330,10 @@ BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/openjdk7
. endif
.endif
+.if ${BOOTSTRAPJDKDIR} == ${LOCALBASE}/openjdk8
+CONFIGURE_ARGS+= --enable-sjavac
+.endif
+
# PR193009: work around the rtld bug
.if ${OSVERSION} < 1001511
CONFIGURE_ARGS+= --enable-static-libjli