Skip to content

Commit

Permalink
toolchain.eclass: Do not pass unused --disable-libgcj option in GCC >=7.
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/659798
Signed-off-by: Sergei Trofimovich <[email protected]>
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and Sergei Trofimovich committed Jul 1, 2018
1 parent eb8e6c7 commit 335cd9e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions eclass/toolchain.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 335cd9e

Please sign in to comment.