From 387db8643fe27871dabc6e405647bc76d3315d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 13 Jan 2021 13:52:14 +0100 Subject: [PATCH] Make lto opt-out work again --- systemd.spec | 4 ++++ 1 file changed, 4 insertions(+) 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