Browse Source

better if detection

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
fab996ae4c
  1. 6
      SPECS/qemu.spec

6
SPECS/qemu.spec

@ -369,11 +369,11 @@ emulatedbuildarch="ppc64-softmmu s390x-softmmu sparc64-softmmu x86_64-softmmu mi @@ -369,11 +369,11 @@ emulatedbuildarch="ppc64-softmmu s390x-softmmu sparc64-softmmu x86_64-softmmu mi
--enable-attr --enable-nettle --enable-vhost-scsi --enable-vhost-net --enable-vhost-vsock --enable-vhost-crypto --enable-crypto-afalg \
--enable-linux-aio --enable-vvfat --enable-coroutine-pool --enable-cap-ng --enable-opengl --enable-vhost-vdpa \
--enable-virglrenderer \
%if "%{cpuarch}" == "x86-64-v3" or "%{cpuarch}" == "x86-64-v4"
--enable-avx2
%if "%{cpuarch}" == "x86-64-v3"
--enable-avx2 \
%endif
%if "%{cpuarch}" == "x86-64-v4"
--enable-avx512f
--enable-avx2 --enable-avx512f \
%endif
--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 \

Loading…
Cancel
Save