summaryrefslogtreecommitdiff
path: root/java/openjdk11/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2019-09-03 19:39:00 +0000
committerGreg Lewis <glewis@FreeBSD.org>2019-09-03 19:39:00 +0000
commitde71759143d048591c5c55241581712c2272bc89 (patch)
tree82e674ee1620695fc70f358cda139c163aa79d1a /java/openjdk11/Makefile
parent- Set deprecated / expiration on sysadm ports, no longer maintained (diff)
Minor clean up
* Separate out compiler specifics from platform specifics. This also removes a little duplication.
Notes
Notes: svn path=/head/; revision=511031
Diffstat (limited to 'java/openjdk11/Makefile')
-rw-r--r--java/openjdk11/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index 8ad94ab2f46f..480d0d62ed77 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -122,16 +122,14 @@ CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE}
.if ${COMPILER_TYPE} == gcc
USE_GCC= yes
-CONFIGURE_ARGS+= --disable-warnings-as-errors \
- --disable-dtrace \
- --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \
+CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \
--with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \
--with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}"
.else
MAKE_ENV+= USE_CLANG=true
.endif
-.if ${ARCH} == aarch64
+.if ${ARCH} == aarch64 || ${ARCH} == powerpc64
CONFIGURE_ARGS+= --disable-warnings-as-errors \
--disable-dtrace
.endif