diff options
author | 2023-11-06 09:00:00 +0530 | |
---|---|---|
committer | 2023-11-05 19:30:00 -0800 | |
commit | 2c0a74fc5c2af5b0e5b51c6700f7cba415e23931 (patch) | |
tree | 3583b2b5159c8f686bdc18ea99ea9fa08feb55a0 | |
parent | 282b2da5fa2e76250d86ce16b0169878b9ff5ed4 (diff) | |
download | coredns-2c0a74fc5c2af5b0e5b51c6700f7cba415e23931.tar.gz coredns-2c0a74fc5c2af5b0e5b51c6700f7cba415e23931.tar.zst coredns-2c0a74fc5c2af5b0e5b51c6700f7cba415e23931.zip |
Makefile: allow to use custom GITCOMMIT & BUILDOPTS (#6384)
?= means If GITCOMMIT/BUILDOPTS is defined then use that otherwise fallback to default
Signed-off-by: Rahil Bhimjiani <rahil3108@gmail.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,9 +1,9 @@ # Makefile for building CoreDNS -GITCOMMIT:=$(shell git describe --dirty --always) +GITCOMMIT?=$(shell git describe --dirty --always) BINARY:=coredns SYSTEM:= CHECKS:=check -BUILDOPTS:=-v +BUILDOPTS?=-v GOPATH?=$(HOME)/go MAKEPWD:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) CGO_ENABLED?=0 |