diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-22 17:04:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 17:04:51 +0200 |
commit | 277732b9bc8efaa21ac47ba927a1c3714b8e84ad (patch) | |
tree | c8e70e2b234e1484279f8611ecf18d2a177ac3fd | |
parent | 4afdbcd6da849cbc072808d575d6b4ec90c5d9a6 (diff) | |
parent | 78bd0e0a635470128a0452a67e242e4761723657 (diff) | |
download | podman-277732b9bc8efaa21ac47ba927a1c3714b8e84ad.tar.gz podman-277732b9bc8efaa21ac47ba927a1c3714b8e84ad.tar.bz2 podman-277732b9bc8efaa21ac47ba927a1c3714b8e84ad.zip |
Merge pull request #6707 from lsm5/custom-GO_BUILD
Makefile: allow customizable GO_BUILD
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,10 +38,10 @@ PRE_COMMIT = $(shell command -v bin/venv/bin/pre-commit ~/.local/bin/pre-commit SOURCES = $(shell find . -path './.*' -prune -o -name "*.go") -GO_BUILD=$(GO) build +GO_BUILD ?= $(GO) build # Go module support: set `-mod=vendor` to use the vendored sources ifeq ($(shell go help mod >/dev/null 2>&1 && echo true), true) - GO_BUILD=GO111MODULE=on $(GO) build -mod=vendor + GO_BUILD ?= GO111MODULE=on $(GO) build -mod=vendor endif BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay |