mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-10 02:15:29 +00:00
14 lines
558 B
Diff
14 lines
558 B
Diff
# 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)
|
|
|