diff --git a/systemd.spec b/systemd.spec index 30bf9a8a..92faf618 100644 --- a/systemd.spec +++ b/systemd.spec @@ -782,7 +782,11 @@ export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" -Doomd=%{when experimental} \ -Drepart=%{when experimental} \ -Dsysupdate=%{when experimental} \ +%if %{with sd_boot} -Dukify=%{when experimental} \ +%else + -Dukify=no \ +%endif \ -Dtests=%{when testsuite unsafe} \ -Dinstall-tests=%{when testsuite}