From 2a4134a67e36d3fb1e3fc8ff9b94fa22541847f0 Mon Sep 17 00:00:00 2001 From: hasheddan Date: Tue, 20 Aug 2019 19:44:19 -0500 Subject: [PATCH] go static: remove error checking if GO_STATIC_PACKAGES defined Signed-off-by: hasheddan --- makelib/golang.mk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/makelib/golang.mk b/makelib/golang.mk index 569e138..1fe6076 100644 --- a/makelib/golang.mk +++ b/makelib/golang.mk @@ -18,11 +18,6 @@ # The go project including repo name, for example, github.com/rook/rook GO_PROJECT ?= $(PROJECT_REPO) -# the packages to be built statically, for example, $(GO_PROJECT)/cmd/mytool -ifeq ($(GO_STATIC_PACKAGES),) -$(error please set GO_STATIC_PACKAGES prior to including golang.mk) -endif - # Optional. These are subdirs that we look for all go files to test, vet, and fmt GO_SUBDIRS ?= cmd pkg