archutils: fix build on aarch64

Due to an invalid architecture name (arm64), containerd could not build
on aarch64 machines. Fix this by using the correct name of the
architecture for conditional building.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
Aleksa Sarai 2016-04-13 19:29:20 +10:00
parent 1e617aaab4
commit 7c572f1673
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
//+build !arm64,linux
// +build linux,!aarch64
package archutils
import (

View File

@ -1,4 +1,4 @@
// +build arm64,linux
// +build linux,aarch64
package archutils