summaryrefslogtreecommitdiffstats
path: root/recipes-networking/netns
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2022-09-13 16:21:06 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-09-13 16:21:06 -0400
commitba32f19b65ccfaf550dbd9aab9067dba5d6c3ec6 (patch)
treed8a7c8f6e34810029512c3210e1c01c2663a8838 /recipes-networking/netns
parentad8af6213393cbc8b64e3fa5ef3b91e4bf844df2 (diff)
downloadmeta-virtualization-ba32f19b65ccfaf550dbd9aab9067dba5d6c3ec6.tar.gz
netns: fix reproducible QA warnings
Pass -trimpath to the build to avoid references to TMPDIR. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-networking/netns')
-rw-r--r--recipes-networking/netns/netns_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-networking/netns/netns_git.bb b/recipes-networking/netns/netns_git.bb
index a4dcb42b..53d3ff53 100644
--- a/recipes-networking/netns/netns_git.bb
+++ b/recipes-networking/netns/netns_git.bb
@@ -39,7 +39,7 @@ do_compile() {
39 export LDFLAGS="" 39 export LDFLAGS=""
40 export CGO_CFLAGS="${TARGET_CFLAGS}" 40 export CGO_CFLAGS="${TARGET_CFLAGS}"
41 export CGO_LDFLAGS="${TARGET_LDFLAGS}" 41 export CGO_LDFLAGS="${TARGET_LDFLAGS}"
42 export GOFLAGS="-mod=vendor" 42 export GOFLAGS="-mod=vendor -trimpath"
43 43
44 cd ${S}/src/import 44 cd ${S}/src/import
45 # Static builds work but are not recommended. See Makefile*cgo patch. 45 # Static builds work but are not recommended. See Makefile*cgo patch.