1 |
commit: 0f079a0ab8ef42b18cfa4983a668dd431732f4db |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 6 11:24:32 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 6 11:27:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f079a0a |
7 |
|
8 |
sys-devel/binutils: drop DEPEND+=binutils-libs for cross case |
9 |
|
10 |
Nowadays' binutils does not need host's libiberty.a and builds |
11 |
it's own copy for bootstrap. Drop ebuild dependency. |
12 |
|
13 |
This allows users to use unstable cross-toolchain on stable systems |
14 |
with less friction: no need to install unstable binutils-libs. |
15 |
|
16 |
Reported-by: NeckTwi Ozfguah |
17 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
18 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
19 |
|
20 |
sys-devel/binutils/binutils-2.31.1-r1.ebuild | 8 +------- |
21 |
sys-devel/binutils/binutils-9999.ebuild | 8 +------- |
22 |
2 files changed, 2 insertions(+), 14 deletions(-) |
23 |
|
24 |
diff --git a/sys-devel/binutils/binutils-2.31.1-r1.ebuild b/sys-devel/binutils/binutils-2.31.1-r1.ebuild |
25 |
index d7752af4f3f..180506d1f3e 100644 |
26 |
--- a/sys-devel/binutils/binutils-2.31.1-r1.ebuild |
27 |
+++ b/sys-devel/binutils/binutils-2.31.1-r1.ebuild |
28 |
@@ -1,4 +1,4 @@ |
29 |
-# Copyright 1999-2018 Gentoo Foundation |
30 |
+# Copyright 1999-2018 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
EAPI=6 |
34 |
@@ -79,12 +79,6 @@ DEPEND="${RDEPEND} |
35 |
sys-devel/flex |
36 |
virtual/yacc |
37 |
" |
38 |
-if is_cross ; then |
39 |
- # The build assumes the host has libiberty and such when cross-compiling |
40 |
- # its build tools. We should probably make binutils itself build a local |
41 |
- # copy to use, but until then, be lazy. |
42 |
- DEPEND+=" >=sys-libs/binutils-libs-${PV}" |
43 |
-fi |
44 |
|
45 |
MY_BUILDDIR=${WORKDIR}/build |
46 |
|
47 |
|
48 |
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild |
49 |
index 93dcbdf26b0..52df1648f4f 100644 |
50 |
--- a/sys-devel/binutils/binutils-9999.ebuild |
51 |
+++ b/sys-devel/binutils/binutils-9999.ebuild |
52 |
@@ -1,4 +1,4 @@ |
53 |
-# Copyright 1999-2018 Gentoo Foundation |
54 |
+# Copyright 1999-2018 Gentoo Authors |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
|
57 |
EAPI=6 |
58 |
@@ -79,12 +79,6 @@ DEPEND="${RDEPEND} |
59 |
sys-devel/flex |
60 |
virtual/yacc |
61 |
" |
62 |
-if is_cross ; then |
63 |
- # The build assumes the host has libiberty and such when cross-compiling |
64 |
- # its build tools. We should probably make binutils itself build a local |
65 |
- # copy to use, but until then, be lazy. |
66 |
- DEPEND+=" >=sys-libs/binutils-libs-${PV}" |
67 |
-fi |
68 |
|
69 |
MY_BUILDDIR=${WORKDIR}/build |