summaryrefslogtreecommitdiff
path: root/repo/go
diff options
context:
space:
mode:
Diffstat (limited to 'repo/go')
-rw-r--r--repo/go/go.xibuild14
1 files changed, 3 insertions, 11 deletions
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 ..
}