# See https://github.com/wlynxg/anet?tab=readme-ov-file#how-to-build-with-go-1230-or-later

--- a/cmd/btfs/Rules.mk
+++ b/cmd/btfs/Rules.mk
@@ -13,7 +13,7 @@
 # DEPS_OO_$(d) += merkledag/pb/merkledag.pb.go namesys/pb/namesys.pb.go
 # DEPS_OO_$(d) += pin/internal/pb/header.pb.go unixfs/pb/unixfs.pb.go
 
-$(d)_flags =-ldflags="-X "github.com/bittorrent/go-btfs".CurrentCommit=$(git-hash)"
+$(d)_flags =-ldflags="-checklinkname=0 -X "github.com/bittorrent/go-btfs".CurrentCommit=$(git-hash)"
 
 $(d)-try-build $(IPFS_BIN_$(d)): GOFLAGS += $(cmd/btfs_flags)
 
