diff --git a/Makefile b/Makefile index 7e5648bdc66b..6fcd3cf709e0 100644 --- a/Makefile +++ b/Makefile @@ -187,13 +187,11 @@ PROMTAIL_DEBUG_GO_FLAGS := $(DEBUG_GO_FLAGS) # Validate GOHOSTOS=linux && GOOS=linux to use CGO. ifeq ($(shell go env GOHOSTOS),linux) ifeq ($(shell go env GOOS),linux) -ifeq ($(shell go env GOARCH),amd64) PROMTAIL_CGO = 1 PROMTAIL_GO_FLAGS = $(DYN_GO_FLAGS) PROMTAIL_DEBUG_GO_FLAGS = $(DYN_DEBUG_GO_FLAGS) endif endif -endif promtail: yacc cmd/promtail/promtail promtail-debug: yacc cmd/promtail/promtail-debug