diff options
author | glewis <glewis@FreeBSD.org> | 2018-12-11 11:23:57 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2018-12-11 11:23:57 +0800 |
commit | a11b58d00eff1ec3a73adc80dd18fd40cb266e5a (patch) | |
tree | 134b51a973a91a9d30c9c43438b0e7d9ed51c75d | |
parent | 6cac2aa92e5fec452d2b11ac1913731b5bd5625c (diff) | |
download | freebsd-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/Makefile | 1 |
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 |