diff --git a/rpm/qemu.spec b/rpm/qemu.spec index 4079fc2ac8..ec875b9bd4 100644 --- a/rpm/qemu.spec +++ b/rpm/qemu.spec @@ -653,6 +653,7 @@ EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g --enable-xen \ --enable-xen-pci-passthrough \ %endif +%endif %if 0%{with xdp} --enable-af-xdp \ %endif @@ -680,7 +681,6 @@ EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g %ifnarch %arm s390x --enable-numa \ %endif -%endif %if 0%{?with_rbd} --enable-rbd \ %endif