summaryrefslogtreecommitdiff
path: root/src/sbom
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbom')
-rw-r--r--src/sbom/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbom/Makefile.inc b/src/sbom/Makefile.inc
index 21e2fa4e18..7783f092c3 100644
--- a/src/sbom/Makefile.inc
+++ b/src/sbom/Makefile.inc
@@ -99,7 +99,7 @@ $(build-dir):
$(build-dir)/goswid: | $(build-dir)
echo " SBOM building goswid tool"
cd util/goswid; \
- GO111MODULE=on go build -o $(abspath $@) ./cmd/goswid
+ GOPATH=$(abspath build/go) GO111MODULE=on go build -modcacherw -o $(abspath $@) ./cmd/goswid
## Generate all .json files