archrelease: copy trunk to community-any
[ArchLinux/community.git] / kubernetes / trunk / kubernetes-1.24.0-static_cgo_enabled.patch
blob5be44f704d9f2800bc740b82985d6e96b77600fb
1 diff -ruN a/hack/lib/golang.sh b/hack/lib/golang.sh
2 --- a/hack/lib/golang.sh 2022-05-03 15:36:49.000000000 +0200
3 +++ b/hack/lib/golang.sh 2022-05-04 17:12:45.197255145 +0200
4 @@ -713,7 +713,7 @@
5 -ldflags="${goldflags}"
6 -tags="${gotags:-}"
8 - CGO_ENABLED=0 kube::golang::build_some_binaries "${statics[@]}"
9 + CGO_ENABLED=1 kube::golang::build_some_binaries "${statics[@]}"
12 if [[ "${#nonstatics[@]}" != 0 ]]; then