From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- repo/go/go.xibuild | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'repo/go/go.xibuild') diff --git a/repo/go/go.xibuild b/repo/go/go.xibuild index 1db6040..585a2d0 100644 --- a/repo/go/go.xibuild +++ b/repo/go/go.xibuild @@ -4,20 +4,20 @@ MAKEDEPS="make gcc" DEPS="" -PKG_VER=1.17.13 +PKG_VER=1.20.3 SOURCE=https://go.dev/dl/go$PKG_VER.src.tar.gz -BOOTSTRAP="go1.4-bootstrap-20171003" +BOOTSTRAP="go-linux-amd64-bootstrap-1.19.1" ADDITIONAL=" - https://dl.google.com/go/$BOOTSTRAP.tar.gz + https://dev.gentoo.org/~williamh/dist/$BOOTSTRAP.tbz " DESC="Core compiler tools for the Go programming language" prepare () { export TMPDIR=/tmp - tar -xvf $BOOTSTRAP.tar.gz - mv go $BOOTSTRAP + tar -xvf $BOOTSTRAP.tbz + mv go-linux-amd64-bootstrap $BOOTSTRAP } build () { @@ -29,18 +29,17 @@ build () { cd $BOOTSTRAP cd src echo "~~~~BUILDING BOOTSTRAP" - CGO_ENABLED=0 ./make.bash -v + CGO_ENABLED=0 ./make.bash -v || return 1 cd $sourceroot - export GOROOT_FINAL=/usr/lib/go export GOROOT_BOOTSTRAP="$(pwd)/$BOOTSTRAP" echo "~~~~BUILDING GOLANG" cd src if [ ! -z "${GOROOT_BOOTSTRAP}" ]; then - ./bootstrap.bash -v + ./bootstrap.bash -v || return 1 fi - ./make.bash -v + ./make.bash -v || reutrn 1 cd .. } -- cgit v1.2.1