mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
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:
@@ -73,7 +73,7 @@ src_compile() {
|
|||||||
|
|
||||||
VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
|
VERSION_SINGBOX=$(go list -m -f '{{.Version}}' github.com/sagernet/sing-box)
|
||||||
ego build \
|
ego build \
|
||||||
-trimpath -ldflags "-w -s -checklinkname=0 \
|
-trimpath -ldflags "-checklinkname=0 \
|
||||||
-X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}' \
|
-X 'github.com/sagernet/sing-box/constant.Version=${VERSION_SINGBOX}' \
|
||||||
-X 'internal/godebug.defaultGODEBUG=multipathtcp=0'" \
|
-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"
|
-tags "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_dhcp,with_tailscale,badlinkname,tfogo_checklinkname0"
|
||||||
|
|||||||
Reference in New Issue
Block a user