net-proxy/Throne: don't strip the Go binary via ldflags

Closes: https://bugs.gentoo.org/975548
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-05-22 17:26:51 +03:00
parent dc9a949f6e
commit 00a033ce9c

View File

@@ -73,7 +73,7 @@ src_compile() {
VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
ego build \
-trimpath -ldflags "-w -s -checklinkname=0 \
-trimpath -ldflags "-checklinkname=0 \
-X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}' \
-X 'internal/godebug.defaultGODEBUG=multipathtcp=0'" \
-tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_dhcp,with_tailscale,badlinkname,tfogo_checklinkname0"