|
|
|
@ -362,23 +362,29 @@ emulatedbuildarch="ppc64-softmmu s390x-softmmu sparc64-softmmu x86_64-softmmu mi
@@ -362,23 +362,29 @@ emulatedbuildarch="ppc64-softmmu s390x-softmmu sparc64-softmmu x86_64-softmmu mi
|
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{_prefix} --libdir=%{_libdir} --sysconfdir=%{_sysconfdir} --interp-prefix=%{_prefix}/qemu-%%M \ |
|
|
|
|
--localstatedir=%{_localstatedir} --libexecdir=%{_libexecdir} --with-pkgversion=%{name}-%{version}-%{release} \ |
|
|
|
|
--disable-strip --enable-pie --enable-numa --disable-werror --disable-xen --enable-curl --enable-jemalloc \ |
|
|
|
|
--disable-strip --enable-pie --enable-numa --disable-werror --disable-xen --enable-vde --enable-jemalloc --enable-malloc-trim \ |
|
|
|
|
--enable-glusterfs --enable-libiscsi --enable-virtfs --enable-rdma --enable-pvrdma --enable-replication --enable-libssh \ |
|
|
|
|
--enable-tpm --enable-smartcard --enable-lzo --enable-bzip2 --enable-zstd --enable-libusb --enable-usb-redir --enable-libnfs \ |
|
|
|
|
--disable-gtk --disable-vte --disable-brlapi --enable-live-block-migration --enable-mpath --enable-membarrier --enable-libpmem \ |
|
|
|
|
--enable-attr --enable-nettle --enable-vhost-scsi --enable-vhost-net --enable-vhost-vsock --enable-vhost-crypto --enable-crypto-afalg \ |
|
|
|
|
--enable-xfsctl --enable-linux-aio --enable-vvfat --enable-coroutine-pool --enable-cap-ng --enable-opengl --enable-vhost-vdpa \ |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
--enable-virglrenderer --enable-avx2 \ |
|
|
|
|
--enable-linux-aio --enable-vvfat --enable-coroutine-pool --enable-cap-ng --enable-opengl --enable-vhost-vdpa \ |
|
|
|
|
--enable-virglrenderer \ |
|
|
|
|
%if %{archtype} == "x86-64-v3" or %{archtype} == "x86-64-v4" |
|
|
|
|
--enable-avx2 |
|
|
|
|
%endif |
|
|
|
|
%if %{archtype} == "x86-64-v4" |
|
|
|
|
--enable-avx512f |
|
|
|
|
%endif |
|
|
|
|
--enable-vhost-kernel --enable-debug-info --enable-slirp=system --enable-pvrdma --enable-dmg \ |
|
|
|
|
--enable-curses --enable-vnc --enable-vnc-sasl --enable-vnc-png --enable-curl --enable-fdt \ |
|
|
|
|
--enable-vhost-kernel --enable-debug-info --enable-slirp=system -enable-dmg --enable-lzfse --enable-fuse --enable-fuse-lseek \ |
|
|
|
|
--enable-curses --enable-vnc --enable-vnc-sasl --enable-vnc-png --enable-vnc-jpeg --enable-curl --enable-fdt --enable-u2f \ |
|
|
|
|
--enable-selinux --enable-seccomp --enable-cloop --enable-virtiofsd --enable-tools --enable-multiprocess \ |
|
|
|
|
--enable-vhost-user --enable-vhost-vdpa --enable-vhost-user-blk-server --enable-sparse --enable-snappy \ |
|
|
|
|
--enable-xen-pci-passthrough --enable-xkbcommon --enable-l2tpv3 --enable-libdaxctl --enable-nvmm \ |
|
|
|
|
--audio-drv-list=pa,sdl,alsa,oss --enable-trace-backend=$tracebackends \ |
|
|
|
|
--block-drv-rw-whitelist=qcow2,raw,file,host_device,nbd,iscsi,gluster,rdb,blkdebug,luks,null-co,https,ssh \ |
|
|
|
|
--block-drv-ro-whitelist=vmdk,vhdx,vpc \ |
|
|
|
|
--extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \ |
|
|
|
|
--extra-cflags="$cflags -Wall" \ |
|
|
|
|
--target-list="$nativebuildarch" --enable-kvm --enable-tcg --enable-tcg-interpreter --enable-spice --enable-hax \ |
|
|
|
|
--extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" --extra-cflags="$cflags -Wall" --enable-lto \ |
|
|
|
|
--target-list="$nativebuildarch" --enable-kvm --enable-tcg --enable-tcg-interpreter --enable-spice --enable-spice-protocol --enable-hax \ |
|
|
|
|
"$@" |
|
|
|
|
make V=1 %{?_smp_mflags} $buildldflags |
|
|
|
|
make DESTDIR=%{buildroot} install |
|
|
|
@ -387,20 +393,22 @@ make DESTDIR=%{buildroot} install
@@ -387,20 +393,22 @@ make DESTDIR=%{buildroot} install
|
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{_prefix} --libdir=%{_libdir} --sysconfdir=%{_sysconfdir} --interp-prefix=%{_prefix}/qemu-%%M \ |
|
|
|
|
--localstatedir=%{_localstatedir} --libexecdir=%{_libexecdir} --with-pkgversion=%{name}-%{version}-%{release} \ |
|
|
|
|
--disable-strip --enable-pie --enable-numa --disable-werror --disable-xen --enable-curl --enable-jemalloc \ |
|
|
|
|
--disable-strip --enable-pie --enable-numa --disable-werror --disable-xen --enable-vde --enable-jemalloc --enable-malloc-trim \ |
|
|
|
|
--enable-glusterfs --enable-libiscsi --enable-virtfs --enable-rdma --enable-pvrdma --enable-replication --enable-libssh \ |
|
|
|
|
--enable-tpm --enable-smartcard --enable-lzo --enable-bzip2 --enable-zstd --enable-libusb --enable-usb-redir --enable-libnfs \ |
|
|
|
|
--disable-gtk --disable-vte --disable-brlapi --enable-live-block-migration --enable-mpath --enable-membarrier \ |
|
|
|
|
--disable-gtk --disable-vte --disable-brlapi --enable-live-block-migration --enable-mpath --enable-membarrier --enable-libpmem \ |
|
|
|
|
--enable-attr --enable-nettle --enable-vhost-scsi --enable-vhost-net --enable-vhost-vsock --enable-vhost-crypto --enable-crypto-afalg \ |
|
|
|
|
--enable-xfsctl --enable-linux-aio --enable-vvfat --enable-coroutine-pool --enable-cap-ng --enable-opengl \ |
|
|
|
|
--enable-vhost-kernel --enable-debug-info --enable-slirp=system --enable-pvrdma --enable-dmg \ |
|
|
|
|
--enable-curses --enable-vnc --enable-vnc-sasl --enable-vnc-png --enable-curl --enable-fdt \ |
|
|
|
|
--enable-linux-aio --enable-vvfat --enable-coroutine-pool --enable-cap-ng --enable-opengl \ |
|
|
|
|
--enable-vhost-kernel --enable-debug-info --enable-slirp=system --enable-dmg --enable-lzfse --enable-fuse --enable-fuse-lseek \ |
|
|
|
|
--enable-curses --enable-vnc --enable-vnc-sasl --enable-vnc-png --enable-vnc-jpeg --enable-curl --enable-fdt --enable-u2f \ |
|
|
|
|
--enable-selinux --enable-seccomp --enable-cloop --enable-virtiofsd --enable-tools --enable-multiprocess \ |
|
|
|
|
--enable-vhost-user --enable-vhost-vdpa --enable-vhost-user-blk-server --enable-sparse --enable-snappy \ |
|
|
|
|
--enable-xen-pci-passthrough --enable-xkbcommon --enable-l2tpv3 --enable-libdaxctl --enable-nvmm \ |
|
|
|
|
--audio-drv-list=pa,sdl,alsa,oss --enable-trace-backend=$tracebackends \ |
|
|
|
|
--block-drv-rw-whitelist=qcow2,raw,file,host_device,nbd,iscsi,gluster,rdb,blkdebug,luks,null-co,https,ssh \ |
|
|
|
|
--block-drv-ro-whitelist=vmdk,vhdx,vpc \ |
|
|
|
|
--extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \ |
|
|
|
|
--extra-cflags="$cflags -Wall" \ |
|
|
|
|
--target-list="$emulatedbuildarch" --enable-kvm --enable-tcg --enable-tcg-interpreter --enable-spice --enable-hax \ |
|
|
|
|
--extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" --extra-cflags="$cflags -Wall" --enable-lto \ |
|
|
|
|
--target-list="$emulatedbuildarch" --enable-kvm --enable-tcg --enable-tcg-interpreter --enable-spice --enable-spice-protocol --enable-hax \ |
|
|
|
|
"$@" |
|
|
|
|
make V=1 %{?_smp_mflags} $buildldflags |
|
|
|
|
make DESTDIR=%{buildroot} install |
|
|
|
|