Temporarily set -checklinkname=0 to fix tfo-go not not being allowed to build with go1.23

This commit is contained in:
世界 2024-08-19 18:58:17 +08:00
parent bab8856609
commit 30bea9f93c
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -7,7 +7,10 @@ builds:
- -v
- -trimpath
ldflags:
- -X github.com/sagernet/sing-box/constant.Version={{ .Version }} -s -w -buildid=
- -X github.com/sagernet/sing-box/constant.Version={{ .Version }}
- -s
- -buildid=
- -checklinkname=0
tags:
- with_gvisor
- with_quic
@ -46,6 +49,10 @@ builds:
- with_reality_server
- with_acme
- with_clash_api
ldflags:
- -X github.com/sagernet/sing-box/constant.Version={{ .Version }}
- -s
- -buildid=
env:
- CGO_ENABLED=0
- GOROOT={{ .Env.GOPATH }}/go1.20.14