diff --git a/Makefile b/Makefile index 977a094ad..08543c254 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ GIT_COMMIT = $(shell git rev-parse HEAD) BUILD_DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ") IMAGE_VERSION ?= v4.9.0 LDFLAGS = -X ${PKG}/pkg/nfs.driverVersion=${IMAGE_VERSION} -X ${PKG}/pkg/nfs.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/nfs.buildDate=${BUILD_DATE} -EXT_LDFLAGS = -s -w -extldflags "-static" +EXT_LDFLAGS = -s -w # Use a custom version for E2E tests if we are testing in CI ifdef CI ifndef PUBLISH