diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-13 15:45:55 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-13 15:45:55 -0400 |
commit | d0a816063d204e0b79fa95ee9fdb7001df78fd5c (patch) | |
tree | bc3082c21bb8f4d177e8d5561637ef93e57f8adb | |
parent | 36cb2b12a7c06bfcd19384115254c7d8baaffaba (diff) | |
download | meta-virtualization-d0a816063d204e0b79fa95ee9fdb7001df78fd5c.tar.gz |
go-build: reproducible add -trimpath
Fix the TMDIR QA error by tweaking out patch to add trimpath to
go build calls.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-devtools/go/go-build/0001-build-use-instead-of-go.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/go/go-build/0001-build-use-instead-of-go.patch b/recipes-devtools/go/go-build/0001-build-use-instead-of-go.patch index 873d7ab4..6d6b0af4 100644 --- a/recipes-devtools/go/go-build/0001-build-use-instead-of-go.patch +++ b/recipes-devtools/go/go-build/0001-build-use-instead-of-go.patch | |||
@@ -24,7 +24,7 @@ Index: git/src/import/gobuild/Makefile | |||
24 | 24 | ||
25 | ${BIN}: ${GODEPPATHS} $(filter %/$@.go, ${MAIN}) | 25 | ${BIN}: ${GODEPPATHS} $(filter %/$@.go, ${MAIN}) |
26 | - GOPATH=${GOPATH} ${ARCH} go build $(filter %/$@.go, ${MAIN}) | 26 | - GOPATH=${GOPATH} ${ARCH} go build $(filter %/$@.go, ${MAIN}) |
27 | + GOPATH=${GOPATH} ${ARCH} ${GO} build $(filter %/$@.go, ${MAIN}) | 27 | + GOPATH=${GOPATH} ${ARCH} ${GO} build -trimpath $(filter %/$@.go, ${MAIN}) |
28 | 28 | ||
29 | clean: | 29 | clean: |
30 | rm -f ${BIN} | 30 | rm -f ${BIN} |