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
commit 933979bd10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"; \