summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index ec51777b..e203965d 100644
--- a/meson.build
+++ b/meson.build
@@ -87,7 +87,7 @@ dep_pciaccess = dependency('pciaccess', version : '>= 0.10', required : get_opti
with_intel = get_option('intel') \
.require(with_atomics, error_message : 'libdrm_intel requires atomics') \
.require(dep_pciaccess.found(), error_message : 'libdrm_intel requires libpciaccess') \
- .disable_auto_if(not host_machine.system().startswith('x86')) \
+ .disable_auto_if(not host_machine.cpu_family().startswith('x86')) \
.allowed()
summary('Intel', with_intel)