diff options
author | Cem Keylan <cem@ckyln.com> | 2021-01-02 03:18:08 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-01-02 03:18:08 +0300 |
commit | 3ef23b9962195c9ed482b3a3aba52222cccdb2ab (patch) | |
tree | 8e515aad68addfdbb90812ffe4fc73c95afb9bc3 /extra/go/build | |
parent | ac7e7ff425d94b89f08b2b388ffe508b71acb5a4 (diff) | |
parent | c1677297e7977cfa5f5ecae32a752839591ed78a (diff) | |
download | repository-helpers.tar.gz |
Merge branch 'master' into helpershelpers
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" |