diff options
Diffstat (limited to 'extra/go/build')
-rwxr-xr-x | extra/go/build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/go/build b/extra/go/build index bb6ce565..c051bc2d 100755 --- a/extra/go/build +++ b/extra/go/build @@ -1,5 +1,8 @@ #!/bin/sh -e +# Remove bash as a make dependency +patch -p1 < no-bash.patch + # Disable stripping of binaries. # This breaks Go. :> nostrip @@ -15,7 +18,7 @@ export GO_LDFLAGS="-w -s" mkdir -p lib/go-bootstrap cd "$GOROOT/src" - bash ./make.bash + ./make.bash cd .. cp -a bin pkg src ../lib/go-bootstrap cd .. @@ -33,7 +36,7 @@ export GOROOT=$PWD/go-current ( cd "$GOROOT/src" - bash make.bash --no-clean -v + ./make.bash --no-clean -v ) cd "$GOROOT" |