Files
termux-packages/packages/ipfs/cmd-ipfs-Rules.mk.patch
termux-pacman-bot 9b7c7c6b51 bump(main/ipfs): 0.31.0
Fixes #21838
2024-10-17 21:36:05 +00:00

15 lines
669 B
Diff

See https://github.com/wlynxg/anet?tab=readme-ov-file#how-to-build-with-go-1230-or-later
diff -u -r ../kk/cmd/ipfs/Rules.mk ./cmd/ipfs/Rules.mk
--- ../kk/cmd/ipfs/Rules.mk 2024-10-16 18:28:08.000000000 +0000
+++ ./cmd/ipfs/Rules.mk 2024-10-17 21:18:34.984576632 +0000
@@ -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/ipfs/kubo".CurrentCommit=$(git-hash)"
+$(d)_flags =-ldflags="-checklinkname=0 -X "github.com/ipfs/kubo".CurrentCommit=$(git-hash)"
$(d)-try-build $(IPFS_BIN_$(d)): GOFLAGS += $(cmd/ipfs_flags)