1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +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 committed by k8s-infra-cherrypick-robot
parent 9d41250cf1
commit 304d0bd2f5
5 changed files with 2 additions and 2 deletions

View file

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