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:
parent
e9432a7900
commit
e78c77fd2b
1
Makefile
1
Makefile
@ -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"; \
|
||||||
|
Loading…
Reference in New Issue
Block a user