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