Error when cross-compiling on macOS to Linux (linux/amd64)

Hi there could you take a look at the error below?

make WHAT="vendor/k8s.io/apiextensions-apiserver" KUBE_BUILD_PLATFORMS=linux/amd64 
+++ [1007 14:04:54] Building go targets for linux/amd64:
    vendor/k8s.io/apiextensions-apiserver
# runtime/cgo
cgo: C compiler "x86_64-linux-gnu-gcc" not found: exec: "x86_64-linux-gnu-gcc": executable file not found in $PATH
!!! [1007 14:04:54] Call tree:
!!! [1007 14:04:54]  1: /Users/kubernetes/hack/lib/golang.sh:732 kube::golang::build_some_binaries(...)
!!! [1007 14:04:54]  2: /Users/kubernetes/hack/lib/golang.sh:876 kube::golang::build_binaries_for_platform(...)
!!! [1007 14:04:54]  3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [1007 14:04:54] Call tree:
!!! [1007 14:04:54]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [1007 14:04:54] Call tree:
!!! [1007 14:04:54]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
make: *** [all] Error 1

I get this error when there’s a CGO runtime involved since e.g kube-apiserver builds fine). Can you suggest a workaround for this (other than docker/VM)?

Best