git: 406bc6fd9aee - main - java/openjdk11: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Dec 2024 14:12:03 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=406bc6fd9aeec79540e5391e70211d1a2876fadb commit 406bc6fd9aeec79540e5391e70211d1a2876fadb Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-12-17 14:07:11 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-12-17 14:11:59 +0000 java/openjdk11: fix build on powerpc64* Partially reverts 08cc50220f1d71f12d13d7e2c957a5679b02914d, segfaults are still present on both powerpc64 and powerpc64le. --- java/openjdk11/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 47cc63514afa..7e2f7ace60a1 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -157,6 +157,12 @@ CXXFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CONFIGURE_ARGS+=--disable-precompiled-headers .else MAKE_ENV+= USE_CLANG=true +.if ${ARCH:Mpowerpc64*} +LLVM_VER= 12 +BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} +CC= ${LOCALBASE}/bin/clang${LLVM_VER} +CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} +.endif .endif .if ${ARCH} == aarch64 || ${ARCH:Marmv*}