diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-01-17 16:30:56 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-01-17 17:24:01 +0100 |
commit | 4629942686de54a8d58036dbce17fbed1c95780c (patch) | |
tree | bff25f963a6a0931dee76067d711b2a4f060d08c | |
parent | 341c4b1fd94dda26be5ce588490e3d7284a54dbb (diff) | |
download | podman-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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |