From 9089fb036dc739eb5a132a4745b5d69df0c1f9e0 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Mon, 20 Dec 2021 01:56:41 +0000 Subject: [PATCH] java/openjdk17: use java/bootstrap-openjdk17 on powerpc64 elfv2 --- java/openjdk17/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile index 078431d0c568..7bff8737c992 100644 --- a/java/openjdk17/Makefile +++ b/java/openjdk17/Makefile @@ -105,7 +105,7 @@ JDK_BUILD_TYPE= release .include BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk17 -.if ${ARCH} == aarch64 || ${ARCH} == amd64 +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) BOOTSTRAP_JDKS+= ${LOCALBASE}/bootstrap-openjdk17 .endif BOOTSTRAP_JDKS+= ${LOCALBASE}/openjdk16 @@ -119,7 +119,7 @@ BOOTSTRAPJDKDIR= ${BJDK} # if no valid jdk found, set dependency .if !defined(BOOTSTRAPJDKDIR) -. if ${ARCH} == aarch64 || ${ARCH} == amd64 +. if ${ARCH} == aarch64 || ${ARCH} == amd64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap-openjdk17 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/bootstrap-openjdk17 . else