golang: set GOARM64 based on CONFIG_CPU_TYPE

Fixes: https://github.com/openwrt/packages/issues/26852
Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
George Sapkin
2025-11-02 00:27:22 +02:00
parent e1b49dc033
commit bfd5e0e899
3 changed files with 47 additions and 1 deletions

View File

@@ -200,6 +200,7 @@ GO_PKG_TARGET_VARS= \
GO386="$(GO_386)" \
GOAMD64="$(GO_AMD64)" \
GOARM="$(GO_ARM)" \
GOARM64="$(GO_ARM64)" \
GOMIPS="$(GO_MIPS)" \
GOMIPS64="$(GO_MIPS64)" \
GOPPC64="$(GO_PPC64)" \