diff --git a/alsa-lib.spec b/alsa-lib.spec index c6a853f..c77197c 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -9,7 +9,7 @@ Summary: The Advanced Linux Sound Architecture (ALSA) library Name: alsa-lib Version: %{version_alsa_lib} -Release: 2%{?prever_dot}%{?dist} +Release: 3%{?prever_dot}%{?dist} License: LGPLv2+ URL: http://www.alsa-project.org/ @@ -82,7 +82,7 @@ contains alsa-lib configuration of SoC topology # Note: The v1.2.4 contains changes wich are compatible with gcc-10 LTO # although using the old ASM constructs. # Disable LTO -#define _lto_cflags #{nil} +%define _lto_cflags -flto -ffat-lto-objects -flto-partition=none autoreconf -vif %configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp @@ -166,7 +166,7 @@ rm %{buildroot}/%{_includedir}/asoundlib.h %{_datadir}/alsa/topology %changelog -* Thu Oct 15 2020 Jaroslav Kysela - 1.2.4-2 +* Thu Oct 15 2020 Jaroslav Kysela - 1.2.4-3 - update to 1.2.4 - enable LTO