[Bug 233883] java/openjdk8: fix build with GCC-based architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 9 12:28:59 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233883
Bug ID: 233883
Summary: java/openjdk8: fix build with GCC-based architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: java at FreeBSD.org
Reporter: pkubaj at anongoth.pl
Flags: maintainer-feedback?(java at FreeBSD.org)
Assignee: java at FreeBSD.org
Created attachment 199976
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199976&action=edit
patch
Before update to 8.192.26, openjdk8 compiled fine, but 8.192.26 made building
on FreeBSD use clang by default, which breaks GCC architectures.
Add CONFIGURE_ARGS+=--with-toolchain-type=gcc when COMPILER_TYPE is gcc
(alternatively we could add
CONFIGURE_ARGS+=--with-toolchain-type=${CHOSEN_COMPILER_TYPE} to all targets).
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-java
mailing list