mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
netns: fix reproducible QA warnings
Pass -trimpath to the build to avoid references to TMPDIR. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
ad8af62133
commit
ba32f19b65
|
@ -39,7 +39,7 @@ do_compile() {
|
|||
export LDFLAGS=""
|
||||
export CGO_CFLAGS="${TARGET_CFLAGS}"
|
||||
export CGO_LDFLAGS="${TARGET_LDFLAGS}"
|
||||
export GOFLAGS="-mod=vendor"
|
||||
export GOFLAGS="-mod=vendor -trimpath"
|
||||
|
||||
cd ${S}/src/import
|
||||
# Static builds work but are not recommended. See Makefile*cgo patch.
|
||||
|
|
Loading…
Reference in New Issue
Block a user