From ba32f19b65ccfaf550dbd9aab9067dba5d6c3ec6 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 13 Sep 2022 16:21:06 -0400 Subject: netns: fix reproducible QA warnings Pass -trimpath to the build to avoid references to TMPDIR. Signed-off-by: Bruce Ashfield --- recipes-networking/netns/netns_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-networking/netns') 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() { 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. -- cgit v1.2.3-54-g00ecf