From 6acdedb211de612846bd7a367afd4f242115d1a3 Mon Sep 17 00:00:00 2001 From: shanker JJ Date: Tue, 25 Oct 2022 06:35:19 +0900 Subject: [PATCH] Adding comment in bin-maker.sh --- netclient/bin-maker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/netclient/bin-maker.sh b/netclient/bin-maker.sh index 00f59e3b..05808fa4 100755 --- a/netclient/bin-maker.sh +++ b/netclient/bin-maker.sh @@ -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