forked from Lainports/freebsd-ports
java/openjdk16: fix build on powerpc64le
This commit is contained in:
parent
0c7c619a73
commit
ac65e984e8
1 changed files with 7 additions and 5 deletions
|
|
@ -11,7 +11,7 @@ COMMENT= Java Development Kit ${JDK_MAJOR_VERSION}
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386 powerpc64
|
||||
ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le
|
||||
|
||||
BUILD_DEPENDS= zip:archivers/zip \
|
||||
autoconf>0:devel/autoconf \
|
||||
|
|
@ -139,11 +139,13 @@ CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFA
|
|||
MAKE_ENV+= USE_CLANG=true
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == aarch64 || ${ARCH} == powerpc64
|
||||
CONFIGURE_ARGS+= --disable-warnings-as-errors \
|
||||
--disable-dtrace
|
||||
.if ${ARCH} == aarch64 || ${ARCH:Mpowerpc64*}
|
||||
CONFIGURE_ARGS+= --disable-warnings-as-errors
|
||||
.endif
|
||||
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
|
||||
.if ${ARCH} == aarch64 || ${ARCH} == powerpc64
|
||||
CONFIGURE_ARGS+= --disable-dtrace
|
||||
.endif
|
||||
.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le
|
||||
CONFIGURE_ARGS+= --disable-precompiled-headers
|
||||
.endif
|
||||
.if ${ARCH} != amd64
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue