mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
36cb2b12a7
commit
d0a816063d
|
@ -24,7 +24,7 @@ Index: git/src/import/gobuild/Makefile
|
||||||
|
|
||||||
${BIN}: ${GODEPPATHS} $(filter %/$@.go, ${MAIN})
|
${BIN}: ${GODEPPATHS} $(filter %/$@.go, ${MAIN})
|
||||||
- GOPATH=${GOPATH} ${ARCH} go build $(filter %/$@.go, ${MAIN})
|
- GOPATH=${GOPATH} ${ARCH} go build $(filter %/$@.go, ${MAIN})
|
||||||
+ GOPATH=${GOPATH} ${ARCH} ${GO} build $(filter %/$@.go, ${MAIN})
|
+ GOPATH=${GOPATH} ${ARCH} ${GO} build -trimpath $(filter %/$@.go, ${MAIN})
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ${BIN}
|
rm -f ${BIN}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user