summaryrefslogtreecommitdiff
path: root/java/bootstrap-openjdk11/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-15 22:08:04 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-15 22:08:04 +0000
commit16ba9aabc534b4b6a476a770a6293f5573a76405 (patch)
tree835a338778bd9f0fef3e2ef06ccf66bc045df14b /java/bootstrap-openjdk11/Makefile
parentUpdate to 1.5.0 (diff)
java/openjdk11: add bootstrap and fix compilation for powerpc64 elfv2
Add bootstrap for powerpc64 elfv2. Because of issue with macros in precompiled.hpp, --disable-precompiled-headers is necessary. Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to compile for elfv2. I assume here that GCC will be used exclusively on ELFv1 systems and Clang on ELFv2. PR: 243182 Approved by: glewis (maintainer)
Notes
Notes: svn path=/head/; revision=523182
Diffstat (limited to 'java/bootstrap-openjdk11/Makefile')
-rw-r--r--java/bootstrap-openjdk11/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/bootstrap-openjdk11/Makefile b/java/bootstrap-openjdk11/Makefile
index ce91151272f6..49916187e449 100644
--- a/java/bootstrap-openjdk11/Makefile
+++ b/java/bootstrap-openjdk11/Makefile
@@ -22,7 +22,8 @@ WRKSRC= ${WRKDIR}/${JDK_ROOT}
JDK_PORT= ${PKGNAMEPREFIX}${PORTNAME}
JDK_ROOT= ${PKGNAMEPREFIX}${PORTNAME}
-JDK_ARCH= ${ARCH}
+JDK_ARCH= ${ARCH}${JDK_ARCH_SUFFIX_${ARCH}}
+JDK_ARCH_SUFFIX_powerpc64= -${PPC_ABI:tl}
INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}