We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a41b62a + 767bc00 commit 346b818Copy full SHA for 346b818
Makefile
@@ -14,10 +14,11 @@ GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
14
GIT_BRANCH_CLEAN := $(shell echo $(GIT_BRANCH) | sed -e "s/[^[:alnum:]]/-/g")
15
RUNC_IMAGE := runc_dev$(if $(GIT_BRANCH_CLEAN),:$(GIT_BRANCH_CLEAN))
16
PROJECT := github.com/opencontainers/runc
17
-BUILDTAGS ?= seccomp urfave_cli_no_docs
+EXTRA_BUILDTAGS :=
18
+BUILDTAGS := seccomp urfave_cli_no_docs
19
BUILDTAGS += $(EXTRA_BUILDTAGS)
20
-COMMIT ?= $(shell git describe --dirty --long --always)
21
+COMMIT := $(shell git describe --dirty --long --always)
22
EXTRA_VERSION :=
23
VERSION := $(shell cat ./VERSION)$(EXTRA_VERSION)
24
LDFLAGS_COMMON := -X main.gitCommit=$(COMMIT) -X main.version=$(VERSION)
0 commit comments