From: Sergei Trofimovich Date: Sat, 6 Oct 2018 11:24:32 +0000 (+0100) Subject: sys-devel/binutils: drop DEPEND+=binutils-libs for cross case X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f079a0ab8ef42b18cfa4983a668dd431732f4db;p=gentoo.git sys-devel/binutils: drop DEPEND+=binutils-libs for cross case Nowadays' binutils does not need host's libiberty.a and builds it's own copy for bootstrap. Drop ebuild dependency. This allows users to use unstable cross-toolchain on stable systems with less friction: no need to install unstable binutils-libs. Reported-by: NeckTwi Ozfguah Signed-off-by: Sergei Trofimovich Package-Manager: Portage-2.3.50, Repoman-2.3.11 --- diff --git a/sys-devel/binutils/binutils-2.31.1-r1.ebuild b/sys-devel/binutils/binutils-2.31.1-r1.ebuild index d7752af4f3ff..180506d1f3ec 100644 --- a/sys-devel/binutils/binutils-2.31.1-r1.ebuild +++ b/sys-devel/binutils/binutils-2.31.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -79,12 +79,6 @@ DEPEND="${RDEPEND} sys-devel/flex virtual/yacc " -if is_cross ; then - # The build assumes the host has libiberty and such when cross-compiling - # its build tools. We should probably make binutils itself build a local - # copy to use, but until then, be lazy. - DEPEND+=" >=sys-libs/binutils-libs-${PV}" -fi MY_BUILDDIR=${WORKDIR}/build diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index 93dcbdf26b08..52df1648f4f1 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -79,12 +79,6 @@ DEPEND="${RDEPEND} sys-devel/flex virtual/yacc " -if is_cross ; then - # The build assumes the host has libiberty and such when cross-compiling - # its build tools. We should probably make binutils itself build a local - # copy to use, but until then, be lazy. - DEPEND+=" >=sys-libs/binutils-libs-${PV}" -fi MY_BUILDDIR=${WORKDIR}/build