mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
13 lines
535 B
Diff
13 lines
535 B
Diff
|
diff -ru a/cmd/ipfs/Rules.mk b/cmd/ipfs/Rules.mk
|
||
|
--- a/cmd/ipfs/Rules.mk 2023-01-23 17:23:00
|
||
|
+++ b/cmd/ipfs/Rules.mk 2023-01-23 17:23:21
|
||
|
@@ -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="-X "github.com/ipfs/kubo".CurrentCommit=$(git-hash) -buildmode=pie"
|
||
|
|
||
|
$(d)-try-build $(IPFS_BIN_$(d)): GOFLAGS += $(cmd/ipfs_flags)
|
||
|
|