Make lto opt-out work again

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-01-13 13:52:14 +01:00
parent 5b6dfac2cc
commit 387db8643f
1 changed files with 4 additions and 0 deletions

View File

@ -454,6 +454,10 @@ CONFIGURE_OPTS=(
-Doomd=true -Doomd=true
) )
%if %{without lto}
%global _lto_cflags %nil
%endif
%meson "${CONFIGURE_OPTS[@]}" %meson "${CONFIGURE_OPTS[@]}"
%meson_build %meson_build