Unverified 提交 39e6e177 作者: Steven Allen 提交者: GitHub

Merge pull request #6412 from ipfs/build/reproducible

build: strip GOPATH from build paths
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论