diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-13 16:21:06 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-13 16:21:06 -0400 |
| commit | ba32f19b65ccfaf550dbd9aab9067dba5d6c3ec6 (patch) | |
| tree | d8a7c8f6e34810029512c3210e1c01c2663a8838 | |
| parent | ad8af6213393cbc8b64e3fa5ef3b91e4bf844df2 (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-networking/netns/netns_git.bb | 2 |
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. |
