mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
containerd: Fix build on 386
Go only understands "386" as target arch, not "i586". Adjust this. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
c478d69c1b
commit
88a28bbbeb
|
@ -35,6 +35,9 @@ do_compile() {
|
|||
if [ "${TARGET_ARCH}" = "aarch64" ]; then
|
||||
export GOARCH="arm64"
|
||||
fi
|
||||
if [ "${TARGET_ARCH}" = "i586" ]; then
|
||||
export GOARCH="386"
|
||||
fi
|
||||
|
||||
# Set GOPATH. See 'PACKAGERS.md'. Don't rely on
|
||||
# docker to download its dependencies but rather
|
||||
|
|
Loading…
Reference in New Issue
Block a user