From 2a48a7c802e76a418e59120cfadfa2a7d1ceed81 Mon Sep 17 00:00:00 2001 From: madonuko Date: Sat, 20 Jun 2026 15:00:04 +0800 Subject: [PATCH] fix: clear ldflags --- anda/apps/throne/throne.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anda/apps/throne/throne.spec b/anda/apps/throne/throne.spec index 4f9ea19e7e..1d6c381aae 100644 --- a/anda/apps/throne/throne.spec +++ b/anda/apps/throne/throne.spec @@ -71,6 +71,8 @@ export GOBIN=$(pwd)/gobin export PATH="${PATH}:${GOBIN}" # https://github.com/throneproj/Throne/blob/dev/script/build_go.sh %define currentgoldflags -w -s -X github.com/sagernet/sing-box/constant.Version=%{singbox_version} -X 'internal/godebug.defaultGODEBUG=multipathtcp=0' -checklinkname=0 +%define build_ldflags %nil +export GO_LDFLAGS=' ' %define gomodulesmode GO111MODULE=on export GO_BUILDTAGS="with_clash_api with_gvisor with_quic with_wireguard with_utls with_dhcp with_tailscale badlinkname tfogo_checklinkname0 with_naive_outbound" go mod tidy