spec: explicitly enable/disable xen support
For upstream packit builds with https://github.com/systemd/systemd/pull/24175.
This commit is contained in:
parent
f5162af2a6
commit
49575fa6ed
@ -207,6 +207,7 @@ BuildRequires: bpftool
|
|||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%ifarch x86_64 aarch64
|
%ifarch x86_64 aarch64
|
||||||
|
%global have_xen 1
|
||||||
# That package is only built for those two architectures
|
# That package is only built for those two architectures
|
||||||
BuildRequires: xen-devel
|
BuildRequires: xen-devel
|
||||||
%endif
|
%endif
|
||||||
@ -619,6 +620,7 @@ CONFIGURE_OPTS=(
|
|||||||
-Dlibiptc=false
|
-Dlibiptc=false
|
||||||
-Dlibcurl=true
|
-Dlibcurl=true
|
||||||
-Dlibfido2=true
|
-Dlibfido2=true
|
||||||
|
-Dxenctrl=%[0%{?have_xen}?"true":"false"]
|
||||||
-Defi=true
|
-Defi=true
|
||||||
-Dtpm=true
|
-Dtpm=true
|
||||||
-Dtpm2=true
|
-Dtpm2=true
|
||||||
|
Loading…
Reference in New Issue
Block a user