diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-01-17 16:30:56 +0100 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-01-29 15:26:50 -0500 |
commit | 367c64919e6cfd07101e4f0d40902ad33d9fdcbd (patch) | |
tree | fa9272d5957c37a2e4e75eb2c0dd2ae12e2e368d | |
parent | b111370306bca917d77d3b84352791f157e09983 (diff) | |
download | podman-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-- | 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 |