@@ -206,7 +206,7 @@ jobs:
206206 set -xeuo pipefail
207207 mkdir -p dist
208208 go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
209- -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
209+ -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0' \
210210 ./cmd/sing-box
211211 env :
212212 CGO_ENABLED : " 0"
@@ -228,7 +228,7 @@ jobs:
228228 set -xeuo pipefail
229229 mkdir -p dist
230230 go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
231- -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
231+ -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0' \
232232 ./cmd/sing-box
233233 env :
234234 CGO_ENABLED : " 1"
@@ -243,7 +243,7 @@ jobs:
243243 set -xeuo pipefail
244244 mkdir -p dist
245245 go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
246- -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
246+ -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0' \
247247 ./cmd/sing-box
248248 env :
249249 CGO_ENABLED : " 1"
@@ -258,7 +258,7 @@ jobs:
258258 set -xeuo pipefail
259259 mkdir -p dist
260260 go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
261- -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
261+ -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0' \
262262 ./cmd/sing-box
263263 env :
264264 CGO_ENABLED : " 0"
@@ -278,7 +278,7 @@ jobs:
278278 export CXX="${CC}++"
279279 mkdir -p dist
280280 GOOS=$BUILD_GOOS GOARCH=$BUILD_GOARCH build go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
281- -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
281+ -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0' \
282282 ./cmd/sing-box
283283 env :
284284 CGO_ENABLED : " 1"
@@ -445,7 +445,7 @@ jobs:
445445 set -xeuo pipefail
446446 mkdir -p dist
447447 go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
448- -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
448+ -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0' \
449449 ./cmd/sing-box
450450 env :
451451 CGO_ENABLED : " 1"
@@ -505,7 +505,7 @@ jobs:
505505 run : |
506506 mkdir -p dist
507507 go build -v -trimpath -o dist/sing-box.exe -tags "with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_acme,with_clash_api,with_tailscale,with_ccm,with_ocm,with_naive_outbound,with_purego,badlinkname,tfogo_checklinkname0" `
508- -ldflags "-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0" `
508+ -ldflags "-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0" `
509509 ./cmd/sing-box
510510 env :
511511 CGO_ENABLED : " 0"
@@ -517,7 +517,7 @@ jobs:
517517 run : |
518518 mkdir -p dist
519519 go build -v -trimpath -o dist/sing-box.exe -tags "with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_acme,with_clash_api,with_tailscale,with_ccm,with_ocm,badlinkname,tfogo_checklinkname0" `
520- -ldflags "-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0" `
520+ -ldflags "-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -X internal/godebug.defaultGODEBUG=multipathtcp=0 - checklinkname=0" `
521521 ./cmd/sing-box
522522 env :
523523 CGO_ENABLED : " 0"
0 commit comments