Do not use linkname by default to simplify debugging

This commit is contained in:
世界
2025-09-17 17:49:58 +08:00
parent 6b90b61358
commit cb4deb0c20
29 changed files with 59 additions and 31 deletions

View File

@@ -13,7 +13,7 @@ pushd $PROJECT
git fetch
git reset FETCH_HEAD --hard
git clean -fdx
go install -v -trimpath -ldflags "-s -w -buildid= -checklinkname=0" -tags with_quic,with_acme,debug ./cmd/sing-box
go install -v -trimpath -ldflags "-s -w -buildid=" -tags with_quic,with_acme,debug ./cmd/sing-box
popd
sudo systemctl stop sing-box