提交 545eb3a4 作者: Steven Allen

build: strip GOPATH from build paths

This should help fix some of our problems using plugins with go-ipfs.
上级 f72ae261
......@@ -10,6 +10,9 @@ unexport GOFLAGS
GOFLAGS ?=
GOTFLAGS ?=
# Try to make building as reproducible as possible by stripping the go path.
GOFLAGS += -asmflags=all=-trimpath="$(GOPATH)" -gcflags=all=-trimpath="$(GOPATH)"
ifeq ($(tarball-is),1)
GOFLAGS += -mod=vendor
endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论