mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
toolchain.eclass: Do not pass unused --disable-libgcj option in GCC >=7.
Closes: https://bugs.gentoo.org/659798 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
committed by
Sergei Trofimovich
parent
eb8e6c7161
commit
335cd9e205
@@ -1175,10 +1175,12 @@ toolchain_src_configure() {
|
||||
|
||||
### library options
|
||||
|
||||
if ! is_gcj ; then
|
||||
confgcc+=( --disable-libgcj )
|
||||
elif use awt ; then
|
||||
confgcc+=( --enable-java-awt=gtk )
|
||||
if tc_version_is_between 3.0 7.0 ; then
|
||||
if ! is_gcj ; then
|
||||
confgcc+=( --disable-libgcj )
|
||||
elif use awt ; then
|
||||
confgcc+=( --enable-java-awt=gtk )
|
||||
fi
|
||||
fi
|
||||
|
||||
if tc_version_is_at_least 4.2 ; then
|
||||
|
||||
Reference in New Issue
Block a user