diff --git a/systemd.spec b/systemd.spec index 2998c85..325a9fb 100644 --- a/systemd.spec +++ b/systemd.spec @@ -454,6 +454,10 @@ CONFIGURE_OPTS=( -Doomd=true ) +%if %{without lto} +%global _lto_cflags %nil +%endif + %meson "${CONFIGURE_OPTS[@]}" %meson_build