diff --git a/Makefile b/Makefile index 46cacf91d..d596ed1db 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ func-test: .PHONY: cephcsi cephcsi: if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi - CGO_ENABLED=0 GOOS=linux GOARCH=$(GOARCH) go build -a -ldflags '$(LDFLAGS) -extldflags "-static"' -o _output/cephcsi ./cmd/ + GOOS=linux GOARCH=$(GOARCH) go build -a -ldflags '$(LDFLAGS)' -o _output/cephcsi ./cmd/ image-cephcsi: cephcsi cp _output/cephcsi deploy/cephcsi/image/cephcsi