aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2018-12-11 11:23:57 +0800
committerglewis <glewis@FreeBSD.org>2018-12-11 11:23:57 +0800
commita11b58d00eff1ec3a73adc80dd18fd40cb266e5a (patch)
tree134b51a973a91a9d30c9c43438b0e7d9ed51c75d
parent6cac2aa92e5fec452d2b11ac1913731b5bd5625c (diff)
downloadfreebsd-ports-gnome-a11b58d00eff1ec3a73adc80dd18fd40cb266e5a.tar.gz
freebsd-ports-gnome-a11b58d00eff1ec3a73adc80dd18fd40cb266e5a.tar.zst
freebsd-ports-gnome-a11b58d00eff1ec3a73adc80dd18fd40cb266e5a.zip
. Fix build on gcc based architectures (e.g. powerpc64)
PR: 233883 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
-rw-r--r--java/openjdk8/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index 003ece3273b9..1cebaa8ca9fa 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -362,6 +362,7 @@ CONFIGURE_ENV+= LIBCXX="-lc++"
# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
.if ${COMPILER_TYPE} == gcc
+CONFIGURE_ARGS+= --with-toolchain-type=gcc
.if ${ARCH} == "powerpc64"
MAKE_ARGS+= USE_PRECOMPILED_HEADER=1
.else