mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
java/openjdk11: fix build on powerpc64*
Partially reverts 08cc50220f
, segfaults are still
present on both powerpc64 and powerpc64le.
This commit is contained in:
parent
ead36b2297
commit
406bc6fd9a
1 changed files with 6 additions and 0 deletions
|
@ -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*}
|
||||
|
|
Loading…
Add table
Reference in a new issue