2025-02-05 10:53:26 +08:00
|
|
|
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
|
|
BIN="ddns-namesilo"
|
|
|
|
|
|
|
|
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ${BIN}-linux-arm64 -a -ldflags '-extldflags "-static"'
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ${BIN}-linux-amd64 -a -ldflags '-extldflags "-static"'
|
2025-02-05 17:21:12 +08:00
|
|
|
|
|
|
|
|
|
|
|
# Xiaomi Mi Router AC2100
|
|
|
|
# MediaTek MT7621 ver:1 eco:3
|
|
|
|
# ramips/mt7621
|
|
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -o ${BIN}-linux-softfloat-mipsle -a -ldflags '-extldflags "-static"'
|