mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 16:02:43 +01:00
Use feature_level field from libcpuid (#12674)
Close #11375 Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
c97f779dbb
commit
83ec81789a
2 changed files with 14 additions and 53 deletions
|
|
@ -105,7 +105,7 @@ cpuid_required = get_option('cpuid')
|
|||
if host_machine.cpu_family() != 'x86_64' and cpuid_required.enabled()
|
||||
warning('Force-enabling seccomp on non-x86_64 does not make sense')
|
||||
endif
|
||||
cpuid = dependency('libcpuid', 'cpuid', required : cpuid_required)
|
||||
cpuid = dependency('libcpuid', 'cpuid', version : '>= 0.7.0', required : cpuid_required)
|
||||
configdata.set('HAVE_LIBCPUID', cpuid.found().to_int())
|
||||
deps_private += cpuid
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue