| 1 | diff --git a/Makefile b/Makefile
|
| 2 | index 06fa005..6146471 100644
|
| 3 | |
| 4 | |
| 5 | @@ -126,7 +126,7 @@ ifeq ($(FIPS), true)
|
| 6 | $(info Building cloudflared with go-fips)
|
| 7 | cp -f fips/fips.go.linux-amd64 cmd/cloudflared/fips.go
|
| 8 | endif
|
| 9 | - GOOS=$(TARGET_OS) GOARCH=$(TARGET_ARCH) $(ARM_COMMAND) go build -mod=readonly $(GO_BUILD_TAGS) $(LDFLAGS) $(IMPORT_PATH)/cmd/cloudflared
|
| 10 | + GOOS=linux $(ARM_COMMAND) go build $(GOFLAGS) $(GO_BUILD_TAGS) $(LDFLAGS) $(IMPORT_PATH)/cmd/cloudflared
|
| 11 | ifeq ($(FIPS), true)
|
| 12 | rm -f cmd/cloudflared/fips.go
|
| 13 | ./check-fips.sh cloudflared
|