Add Golang issue link re: -trimpath to Makefile

Per the request in #2021, add a link to the issue in case this situation
changes in the future.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
Phil Estes 2018-01-22 15:30:31 -05:00
parent e9432a7900
commit e78c77fd2b
No known key found for this signature in database
GPG Key ID: 0F386284C03A1162

View File

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