@cryptotaxi247 / kubo / commits / 545eb3a46

build: strip GOPATH from build paths

This should help fix some of our problems using plugins with go-ipfs.

Steven Allen committed Jun 5, 2019 at 13:22 UTC 545eb3a4626e1f5ae9f3919f3a8a232f2646f340
1 file changed +3
mk/golang.mk
+3
@@ -10,6 +10,9 @@ unexport GOFLAGS
10 GOFLAGS ?=
11 GOTFLAGS ?=
12
13 +# Try to make building as reproducible as possible by stripping the go path.
14 +GOFLAGS += -asmflags=all=-trimpath="$(GOPATH)" -gcflags=all=-trimpath="$(GOPATH)"
15 +
16 ifeq ($(tarball-is),1)
17 GOFLAGS += -mod=vendor
18 endif