Merge pull request #1263 from ipfs/feat/trimpath

Switch to building with -trimpath instead of asm and gc trimpath flags
This commit is contained in:
Hector Sanjuan 2020-10-20 14:53:21 +02:00 committed by GitHub
commit 84c2c5161f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# go source files
SRC := $(shell find ../.. -type f -name '*.go')
GOPATH := $(shell go env GOPATH)
GOFLAGS := "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
GOFLAGS := "-trimpath"
all: ipfs-cluster-ctl

View File

@ -1,7 +1,7 @@
# go source files
SRC := $(shell find ../.. -type f -name '*.go')
GOPATH := $(shell go env GOPATH)
GOFLAGS := "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
GOFLAGS := "-trimpath"
all: ipfs-cluster-follow

View File

@ -1,7 +1,7 @@
# go source files
SRC := $(shell find ../.. -type f -name '*.go')
GOPATH := $(shell go env GOPATH)
GOFLAGS := "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
GOFLAGS := "-trimpath"
all: ipfs-cluster-service