aboutsummaryrefslogtreecommitdiff
path: root/extra/go/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-01-02 03:18:08 +0300
committerCem Keylan <cem@ckyln.com>2021-01-02 03:18:08 +0300
commit3ef23b9962195c9ed482b3a3aba52222cccdb2ab (patch)
tree8e515aad68addfdbb90812ffe4fc73c95afb9bc3 /extra/go/build
parentac7e7ff425d94b89f08b2b388ffe508b71acb5a4 (diff)
parentc1677297e7977cfa5f5ecae32a752839591ed78a (diff)
downloadrepository-helpers.tar.gz
Merge branch 'master' into helpershelpers
Diffstat (limited to 'extra/go/build')
-rwxr-xr-xextra/go/build7
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"