summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-11-12 03:11:31 -0500
committerMike Frysinger <vapier@gentoo.org>2016-11-15 02:03:23 -0500
commite98d5f4baef322fcbbff2caea91df4dc8405cc2e (patch)
tree9a7d6662a57d205abafb2e35c893c12172750ac4 /eclass
parenttoolchain-binutils.eclass: handle zlib better across multiple versions #591516 (diff)
downloadgentoo-e98d5f4baef322fcbbff2caea91df4dc8405cc2e.tar.gz
gentoo-e98d5f4baef322fcbbff2caea91df4dc8405cc2e.tar.bz2
gentoo-e98d5f4baef322fcbbff2caea91df4dc8405cc2e.zip
sys-devel/binutils & sys-libs/binutils-libs: version bump to 2.27 #595148
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index a16eab7d90c..94659c50253 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -105,6 +105,12 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
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
S=${WORKDIR}/binutils
case ${BVER} in