mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 03:46:02 +08:00
Adding comment in bin-maker.sh
This commit is contained in:
parent
6c76a2bfcf
commit
6acdedb211
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ function build
|
|||
else
|
||||
echo $_out
|
||||
if [ "$_goarch" == "mips" ]; then
|
||||
# If the binary created through `GOMIPS=softfloat GOARCH=mipsle` is not compatible with your hardware, try changing these variables and creating a binary file compatible with your hardware.
|
||||
GOARM=$_goarm GOMIPS=softfloat GOARCH=mipsle GOOS=$_goose GOHOSTARCH=$__HOST_ARCH CGO_ENABLED=0 go build -ldflags="-X 'main.version=$VERSION'" -o $_out
|
||||
else
|
||||
GOARM=$_goarm GOARCH=$_goarch GOOS=$_goose GOHOSTARCH=$__HOST_ARCH CGO_ENABLED=0 go build -ldflags="-X 'main.version=$VERSION'" -o $_out
|
||||
|
|
Loading…
Add table
Reference in a new issue