Skip to content

Commit

Permalink
hack: fix empty GOARM
Browse files Browse the repository at this point in the history
Following changes for cross-compilation in moby#44546
the cross script setting GOARM to the expected value has been
removed but changes not carried in .binary script

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Jan 12, 2023
1 parent b94cd6e commit 0d40fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/make/.binary
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d40fdb

Please sign in to comment.