mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 10:02:09 +08:00
删除armv7
This commit is contained in:
@@ -8,7 +8,7 @@ if [[ $CN == "yes" ]]; then
|
||||
export GOPROXY=https://goproxy.cn
|
||||
fi
|
||||
|
||||
apk add tzdata gcc musl-dev upx
|
||||
apk add build-base tzdata gcc musl-dev upx
|
||||
|
||||
uname -a
|
||||
env
|
||||
@@ -24,7 +24,7 @@ extldflags="-static"
|
||||
ldflags="-s -w -X main.appVer=$appVer -X main.commitId=$commitId -X main.buildDate=$(date -Iseconds) \
|
||||
-extldflags \"$extldflags\" "
|
||||
|
||||
go build -o anylink -trimpath -ldflags "$ldflags"
|
||||
CGO_ENABLED=1 go build -o anylink -trimpath -ldflags "$ldflags"
|
||||
|
||||
ls -lh /server/
|
||||
|
||||
|
Reference in New Issue
Block a user