Browse Source

release: Fix linux build

世界 1 month ago
parent
commit
1073ceb741
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/linux.yml

+ 1 - 1
.github/workflows/linux.yml

@@ -92,7 +92,7 @@ jobs:
           set -xeuo pipefail
           mkdir -p dist
           go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
-          -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }}' \
+          -ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
           ./cmd/sing-box
         env:
           CGO_ENABLED: "0"