Made it so Makefile will use existing CGO_ENABLED variable (#4975)

This commit is contained in:
Cyb3r Jak3 2021-11-10 01:12:52 -05:00 committed by GitHub
parent 06e3b2e859
commit f2a6484614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ CHECKS:=check
BUILDOPTS:=-v BUILDOPTS:=-v
GOPATH?=$(HOME)/go GOPATH?=$(HOME)/go
MAKEPWD:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) MAKEPWD:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
CGO_ENABLED:=0 CGO_ENABLED?=0
.PHONY: all .PHONY: all
all: coredns all: coredns