mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +08:00
Adding comment in bin-maker.sh
This commit is contained in:
parent
9cce634cd8
commit
3f5675688c
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…
Reference in a new issue