diff options
author | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
commit | 0d37a1ef234c38b27faba43bc3a22f985d311deb (patch) | |
tree | dde8df9f508e7323c3d7df599ceade7705c40acd /repo/go/go.xibuild | |
parent | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff) |
Remove all firmware
Diffstat (limited to 'repo/go/go.xibuild')
-rw-r--r-- | repo/go/go.xibuild | 17 |
1 files changed, 8 insertions, 9 deletions
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 .. } |