mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
spec: Only build ch driver on x86_64 and aarch64
This matches the cpu_family() check in `meson.build` Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
22034bb77e
commit
981929112c
@ -29,6 +29,7 @@
|
||||
%define arches_zfs %{arches_x86} %{power64} %{arm}
|
||||
%define arches_numactl %{arches_x86} %{power64} aarch64 s390x
|
||||
%define arches_numad %{arches_x86} %{power64} aarch64
|
||||
%define arches_ch x86_64 aarch64
|
||||
|
||||
# The hypervisor drivers that run in libvirtd
|
||||
%define with_qemu 0%{!?_without_qemu:1}
|
||||
@ -124,6 +125,9 @@
|
||||
%ifnarch %{arches_ceph}
|
||||
%define with_storage_rbd 0
|
||||
%endif
|
||||
%ifnarch %{arches_ch}
|
||||
%define with_ch 0
|
||||
%endif
|
||||
|
||||
# RHEL doesn't ship many hypervisor drivers
|
||||
%if 0%{?rhel}
|
||||
|
Loading…
x
Reference in New Issue
Block a user