1
0
Fork 0
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:
Markus Lehtonen 2023-02-17 21:44:09 +02:00
parent 94ab0ddd3d
commit 52fcf0b0e9
5 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
//go:build !linux //go:build !linux && !amd64
// +build !linux // +build !linux,!amd64
/* /*
Copyright 2022 The Kubernetes Authors. Copyright 2022 The Kubernetes Authors.