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