summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-04-13 17:26:10 -0700
committerKir Kolyshkin <kolyshkin@gmail.com>2022-05-17 13:41:28 -0700
commitd2070a39eaf94185489deee1ca0f8a8640c6f959 (patch)
tree605a2d327f1e145516c28865d2ea0791a3de411d
parent2b54bf3e64f1969dea1fac79365d0b84aa6714a9 (diff)
downloadpodman-d2070a39eaf94185489deee1ca0f8a8640c6f959.tar.gz
podman-d2070a39eaf94185489deee1ca0f8a8640c6f959.tar.bz2
podman-d2070a39eaf94185489deee1ca0f8a8640c6f959.zip
Makefile: rm -mod=vendor
"go build" no longer requires explicit "-mod=vendor", as this is the default since go 1.14. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 57b8035be..6452b6c1e 100644
--- a/Makefile
+++ b/Makefile
@@ -67,8 +67,6 @@ PRE_COMMIT = $(shell command -v bin/venv/bin/pre-commit ~/.local/bin/pre-commit
# triggered.
SOURCES = $(shell find . -path './.*' -prune -o \( \( -name '*.go' -o -name '*.c' \) -a ! -name '*_test.go' \) -print)
-BUILDFLAGS := -mod=vendor $(BUILDFLAGS)
-
BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay
CONTAINER_RUNTIME := $(shell command -v podman 2> /dev/null || echo docker)
OCI_RUNTIME ?= ""