From b9fc4f41e38eaa6d27652d418b983d40d13ef82c Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 18 May 2023 15:47:07 +0100 Subject: Fix go build for 1.20 and bump gomuks --- repo/go/go.xibuild | 14 +++----------- repo/gomuks/gomuks.xibuild | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'repo') diff --git a/repo/go/go.xibuild b/repo/go/go.xibuild index 585a2d0..62dfaa1 100644 --- a/repo/go/go.xibuild +++ b/repo/go/go.xibuild @@ -18,28 +18,20 @@ prepare () { export TMPDIR=/tmp tar -xvf $BOOTSTRAP.tbz mv go-linux-amd64-bootstrap $BOOTSTRAP + + git init . } build () { - export sourceroot=$(pwd) export GOARCH=amd64 export GOAMD64=v1 # make sure we're building for the right x86-64 version export GOOS="linux" - cd $BOOTSTRAP - cd src - echo "~~~~BUILDING BOOTSTRAP" - CGO_ENABLED=0 ./make.bash -v || return 1 - - cd $sourceroot export GOROOT_BOOTSTRAP="$(pwd)/$BOOTSTRAP" echo "~~~~BUILDING GOLANG" cd src - if [ ! -z "${GOROOT_BOOTSTRAP}" ]; then - ./bootstrap.bash -v || return 1 - fi - ./make.bash -v || reutrn 1 + ./make.bash -v || return 1 cd .. } diff --git a/repo/gomuks/gomuks.xibuild b/repo/gomuks/gomuks.xibuild index fac64d6..0c50ed5 100644 --- a/repo/gomuks/gomuks.xibuild +++ b/repo/gomuks/gomuks.xibuild @@ -9,7 +9,7 @@ PKG_VER=0.3.0 SOURCE="https://github.com/tulir/gomuks/archive/v$PKG_VER.tar.gz" build() { - go build + go build -buildvcs=false } package() { -- cgit v1.2.1