mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
source/cpu: fix build flags of cpuid detection
Non-x86_64 platforms are virtually only buildable on Linux because the getauxval() glibc function is missing on many platforms.
This commit is contained in:
parent
94ab0ddd3d
commit
52fcf0b0e9
5 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
//go:build !linux
|
||||
// +build !linux
|
||||
//go:build !linux && !amd64
|
||||
// +build !linux,!amd64
|
||||
|
||||
/*
|
||||
Copyright 2022 The Kubernetes Authors.
|
||||
|
|
Loading…
Reference in a new issue