mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 22:20:31 +00:00
15 lines
669 B
Diff
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)
|
|
|