Remove 'make static' target

Having `CGO_ENABLED=0` already produces a static binary.
This commit is contained in:
Sybren A. Stüvel 2022-02-28 13:02:43 +01:00
parent ba5585461b
commit 6067a0ffb0

View File

@ -69,8 +69,4 @@ clean:
rm -f pkg/api/*.gen.go internal/*/mocks/*.gen.go internal/*/*/mocks/*.gen.go
@$(MAKE) generate
static: vet lint generate
go build -v -o flamenco-manager-static -tags netgo -ldflags="-extldflags \"-static\" -w -s ${LDFLAGS}" ${PKG}/cmd/flamenco-manager
go build -v -o flamenco-worker-static -tags netgo -ldflags="-extldflags \"-static\" -w -s ${LDFLAGS}" ${PKG}/cmd/flamenco-worker
.PHONY: run application version static vet lint deploy flamenco-manager flamenco-worker socketio-poc generate with-deps
.PHONY: run application version vet lint deploy flamenco-manager flamenco-worker socketio-poc generate with-deps