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:
parent
1e617aaab4
commit
7c572f1673
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
//+build !arm64,linux
|
||||
// +build linux,!aarch64
|
||||
|
||||
package archutils
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build arm64,linux
|
||||
// +build linux,aarch64
|
||||
|
||||
package archutils
|
||||
|
||||
|
|
Loading…
Reference in a new issue