From: William Hubbs Date: Fri, 22 Mar 2019 15:40:15 +0000 (-0500) Subject: dev-lang/go: document the reason we download all bootstrap archives X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=141168bb010c32538eec0b78501dfda0abf3e5bf;p=gentoo.git dev-lang/go: document the reason we download all bootstrap archives Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Hubbs --- diff --git a/dev-lang/go/go-1.12.1.ebuild b/dev-lang/go/go-1.12.1.ebuild index 0a21a156b985..1426dfb091d9 100644 --- a/dev-lang/go/go-1.12.1.ebuild +++ b/dev-lang/go/go-1.12.1.ebuild @@ -10,8 +10,8 @@ MY_PV=${PV/_/} inherit toolchain-funcs -BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist" BOOTSTRAP_VERSION="bootstrap-1.8" +BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist" BOOTSTRAP_URI=" ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz @@ -47,6 +47,13 @@ case ${PV} in ;; esac esac + +# If gccgo is not being used to build Go, there is no way to know the +# architecture or operating system of the build machine, so we need to +# download all of our bootstrap archives to allow this ebuild to work +# under crossdev. +# +# https://bugs.gentoo.org/671394 SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )" DESCRIPTION="A concurrent garbage collected and typesafe programming language"