mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
Merge pull request #6536 from ipfs/fix/make-handle-whitespace-paths
mk: handle stripping paths when GOPATH contains whitespace
This commit is contained in:
commit
30d4e96a0f
@ -11,7 +11,7 @@ GOFLAGS ?=
|
||||
GOTFLAGS ?=
|
||||
|
||||
# Try to make building as reproducible as possible by stripping the go path.
|
||||
GOFLAGS += -asmflags=all=-trimpath="$(GOPATH)" -gcflags=all=-trimpath="$(GOPATH)"
|
||||
GOFLAGS += "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
|
||||
|
||||
ifeq ($(tarball-is),1)
|
||||
GOFLAGS += -mod=vendor
|
||||
|
||||
Loading…
Reference in New Issue
Block a user