diff --git a/cmd/experimental/kjobctl/Makefile b/cmd/experimental/kjobctl/Makefile index af65c37e63..2da2f7bb4e 100644 --- a/cmd/experimental/kjobctl/Makefile +++ b/cmd/experimental/kjobctl/Makefile @@ -2,7 +2,7 @@ ENVTEST_K8S_VERSION = 1.31.0 ifeq ($(shell uname),Darwin) - GOFLAGS ?= -ldflags=-extldflags=-Wl,-ld_classic + GOFLAGS ?= -ldflags=-linkmode=internal endif # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)