summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-01-17 16:30:56 +0100
committerMatthew Heon <matthew.heon@pm.me>2021-01-29 15:26:50 -0500
commit367c64919e6cfd07101e4f0d40902ad33d9fdcbd (patch)
treefa9272d5957c37a2e4e75eb2c0dd2ae12e2e368d
parentb111370306bca917d77d3b84352791f157e09983 (diff)
downloadpodman-367c64919e6cfd07101e4f0d40902ad33d9fdcbd.tar.gz
podman-367c64919e6cfd07101e4f0d40902ad33d9fdcbd.tar.bz2
podman-367c64919e6cfd07101e4f0d40902ad33d9fdcbd.zip
make: generate bindings: use vendor
Set `-mod=vendor` when generating the bindings. We expect all dependencies to be vendored already. This should slightly speed up the bindings generation and prevent redundant network accesses. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc7d9f0ff..9014b81f7 100644
--- a/Makefile
+++ b/Makefile
@@ -468,7 +468,7 @@ ifneq ($(shell uname -s), Darwin)
pushd $${dirname}>/dev/null; \
echo $${dirname}; \
echo $(GO) generate; \
- $(GO) generate; \
+ $(GO) generate -mod=vendor; \
popd > /dev/null; \
done;
endif