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:
Arfrever Frehtes Taifersar Arahesis
2018-07-02 00:17:04 +02:00
committed by Sergei Trofimovich
parent eb8e6c7161
commit 335cd9e205

View File

@@ -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