summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-01-23 09:05:06 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-01-23 09:06:53 -0600
commit8e67996ddd411634f6f6eda5b0c1dd50715f1ef1 (patch)
tree71f59431004e406fd3dc6a55e1bf7a5d6c438ee9 /dev-lang/go
parentdev-lang/php: Drop freebsd-libs dependency (diff)
downloadgentoo-8e67996ddd411634f6f6eda5b0c1dd50715f1ef1.tar.gz
gentoo-8e67996ddd411634f6f6eda5b0c1dd50715f1ef1.tar.bz2
gentoo-8e67996ddd411634f6f6eda5b0c1dd50715f1ef1.zip
dev-lang/go: drop CTARGET check
Go is always capable of cross-compiling to any supported target. Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-lang/go')
-rw-r--r--dev-lang/go/go-9999.ebuild4
1 files changed, 0 insertions, 4 deletions
diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index 7f4ad5f7af80..7516b365dbdb 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-9999.ebuild
@@ -145,10 +145,6 @@ go_cross_compile()
pkg_pretend()
{
- # make.bash does not understand cross-compiling a cross-compiler
- if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
- die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
- fi
[[ ${MERGE_TYPE} != binary ]] &&
use system-bootstrap && ! has_version -b "dev-lang/go" &&
die "dev-lang/go must be installed to use the system-bootstrap use flag"