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:
commit
84c2c5161f
|
@ -1,7 +1,7 @@
|
||||||
# go source files
|
# go source files
|
||||||
SRC := $(shell find ../.. -type f -name '*.go')
|
SRC := $(shell find ../.. -type f -name '*.go')
|
||||||
GOPATH := $(shell go env GOPATH)
|
GOPATH := $(shell go env GOPATH)
|
||||||
GOFLAGS := "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
|
GOFLAGS := "-trimpath"
|
||||||
|
|
||||||
all: ipfs-cluster-ctl
|
all: ipfs-cluster-ctl
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# go source files
|
# go source files
|
||||||
SRC := $(shell find ../.. -type f -name '*.go')
|
SRC := $(shell find ../.. -type f -name '*.go')
|
||||||
GOPATH := $(shell go env GOPATH)
|
GOPATH := $(shell go env GOPATH)
|
||||||
GOFLAGS := "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
|
GOFLAGS := "-trimpath"
|
||||||
|
|
||||||
all: ipfs-cluster-follow
|
all: ipfs-cluster-follow
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# go source files
|
# go source files
|
||||||
SRC := $(shell find ../.. -type f -name '*.go')
|
SRC := $(shell find ../.. -type f -name '*.go')
|
||||||
GOPATH := $(shell go env GOPATH)
|
GOPATH := $(shell go env GOPATH)
|
||||||
GOFLAGS := "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
|
GOFLAGS := "-trimpath"
|
||||||
|
|
||||||
all: ipfs-cluster-service
|
all: ipfs-cluster-service
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user