瀏覽代碼

release: Fix linux build

世界 1 月之前
父節點
當前提交
1073ceb741
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"