Merge pull request #2041 from estesp/trim-add-go-issue-link

Add Golang issue link re: -trimpath to Makefile
This commit is contained in:
Stephen Day
2018-01-22 13:46:53 -08:00
committed by GitHub

View File

@@ -67,6 +67,7 @@ GOPATHS=$(shell echo ${GOPATH} | tr ":" "\n" | tr ";" "\n")
TESTFLAGS_RACE=
GO_BUILD_FLAGS=
# See Golang issue re: '-trimpath': https://github.com/golang/go/issues/13809
GO_GCFLAGS=$(shell \
set -- ${GOPATHS}; \
echo "-gcflags=-trimpath=$${1}/src"; \