Adding comment in bin-maker.sh

This commit is contained in:
shanker JJ 2022-10-25 06:35:19 +09:00 committed by Matthew R. Kasun
parent 9cce634cd8
commit 3f5675688c

View file

@ -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