mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
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>
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user