1 |
commit: 8e67996ddd411634f6f6eda5b0c1dd50715f1ef1 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 23 15:05:06 2020 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 23 15:06:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e67996d |
7 |
|
8 |
dev-lang/go: drop CTARGET check |
9 |
|
10 |
Go is always capable of cross-compiling to any supported target. |
11 |
|
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
14 |
|
15 |
dev-lang/go/go-9999.ebuild | 4 ---- |
16 |
1 file changed, 4 deletions(-) |
17 |
|
18 |
diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild |
19 |
index 7f4ad5f7af8..7516b365dbd 100644 |
20 |
--- a/dev-lang/go/go-9999.ebuild |
21 |
+++ b/dev-lang/go/go-9999.ebuild |
22 |
@@ -145,10 +145,6 @@ go_cross_compile() |
23 |
|
24 |
pkg_pretend() |
25 |
{ |
26 |
- # make.bash does not understand cross-compiling a cross-compiler |
27 |
- if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then |
28 |
- die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}" |
29 |
- fi |
30 |
[[ ${MERGE_TYPE} != binary ]] && |
31 |
use system-bootstrap && ! has_version -b "dev-lang/go" && |
32 |
die "dev-lang/go must be installed to use the system-bootstrap use flag" |