From 0ecfe7568790a15791011da27eb24e96e7d4a39f Mon Sep 17 00:00:00 2001 From: blotus Date: Tue, 14 Sep 2021 15:42:34 +0200 Subject: [PATCH] default to current GOOS in makefile (#973) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0d3deac22..976fd9106 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ CROWDSEC_BIN = "crowdsec" CSCLI_BIN = "cscli" BUILD_CMD = "build" -GOOS ?= linux +GOOS ?= $(shell go env GOOS) GOARCH ?= $(shell go env GOARCH) #Golang version info