Unverified Commit 30d4e96a authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #6536 from ipfs/fix/make-handle-whitespace-paths

mk: handle stripping paths when GOPATH contains whitespace
parents ad8dbe41 b69365e4
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment