default to current GOOS in makefile (#973)

This commit is contained in:
blotus 2021-09-14 15:42:34 +02:00 committed by GitHub
parent f5e54083c7
commit 0ecfe75687
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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