Accepting request 762952 from home:bfrogers:branches:Virtualization

- Add a %bcond_without system_membarrier along with related
  processing to the spec file, to better investigate running QEMU
  with the --disable-membarrier configure option

OBS-URL: https://build.opensuse.org/request/show/762952
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=522
This commit is contained in:
Bruce Rogers
2020-01-11 02:05:17 +00:00
committed by Git OBS Bridge
parent 979cfb5342
commit bd590bd730
4 changed files with 29 additions and 2 deletions

View File

@@ -87,6 +87,8 @@
%define summary_string Machine emulator and virtualizer
%endif
%bcond_without system_membarrier
INSERT_VERSIONING
%define srcname qemu
Name: qemu%{name_suffix}
@@ -1016,7 +1018,11 @@ cd %mybuilddir
%endif
--enable-lzo \
--disable-malloc-trim \
%if %{with system_membarrier}
--enable-membarrier \
%else
--disable-membarrier \
%endif
--enable-mpath \
--disable-netmap \
--disable-nettle \
@@ -1105,7 +1111,11 @@ cd %mybuilddir
--disable-iconv \
--disable-kvm \
--disable-malloc-trim \
%if %{with system_membarrier}
--enable-membarrier \
%else
--disable-membarrier \
%endif
--disable-parallels \
--disable-plugins \
--disable-qcow1 \