From 0d40fdb7e2bfc74c8b3ddb33a6ba68b61ecc7a94 Mon Sep 17 00:00:00 2001 From: Kevin Alvarez Date: Thu, 12 Jan 2023 15:55:20 +0100 Subject: [PATCH] hack: fix empty GOARM Following changes for cross-compilation in https://github.com/moby/moby/pull/44546 the cross script setting GOARM to the expected value has been removed but changes not carried in .binary script Signed-off-by: CrazyMax --- hack/make/.binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/make/.binary b/hack/make/.binary index 1d66e12523594..f4d586ec7c493 100644 --- a/hack/make/.binary +++ b/hack/make/.binary @@ -26,7 +26,7 @@ source "${MAKEDIR}/.go-autogen" export CGO_ENABLED=1 ;; linux/arm) - case "${GOARM}" in + case "$(go env GOARM)" in 5) export CC="${CC:-arm-linux-gnueabi-gcc}" export CGO_ENABLED=1