Enable CGO in linux build on CI system
@@ -10,7 +10,8 @@ LINUX_BIN_DIR = ./build/linux
GOBUILD = go build
GOBUILD_TAGS ?=
-GOBUILD_ENVS = CGO_ENABLED=0
+GOBUILD_ENVS_darwin = CGO_ENABLED=0
+GOBUILD_ENVS ?= $(GOBUILD_ENVS_$(shell go env GOOS))
GOBUILD_LDFLAGS =
GOBUILD_FLAGS = -tags "$(GOBUILD_TAGS)" -ldflags "$(GOBUILD_LDFLAGS)"
GOBUILD_ENVS_LINUX = GOOS=linux GOARCH=amd64
