summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-01-17 16:30:56 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-01-17 17:24:01 +0100
commit4629942686de54a8d58036dbce17fbed1c95780c (patch)
treebff25f963a6a0931dee76067d711b2a4f060d08c /Makefile
parent341c4b1fd94dda26be5ce588490e3d7284a54dbb (diff)
downloadpodman-4629942686de54a8d58036dbce17fbed1c95780c.tar.gz
podman-4629942686de54a8d58036dbce17fbed1c95780c.tar.bz2
podman-4629942686de54a8d58036dbce17fbed1c95780c.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>
Diffstat (limited to 'Makefile')
-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