try to fix lto build
This commit is contained in:
parent
dffef8e6ea
commit
0b0ace4695
@ -9,7 +9,7 @@
|
|||||||
Summary: The Advanced Linux Sound Architecture (ALSA) library
|
Summary: The Advanced Linux Sound Architecture (ALSA) library
|
||||||
Name: alsa-lib
|
Name: alsa-lib
|
||||||
Version: %{version_alsa_lib}
|
Version: %{version_alsa_lib}
|
||||||
Release: 2%{?prever_dot}%{?dist}
|
Release: 3%{?prever_dot}%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.alsa-project.org/
|
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
|
# Note: The v1.2.4 contains changes wich are compatible with gcc-10 LTO
|
||||||
# although using the old ASM constructs.
|
# although using the old ASM constructs.
|
||||||
# Disable LTO
|
# Disable LTO
|
||||||
#define _lto_cflags #{nil}
|
%define _lto_cflags -flto -ffat-lto-objects -flto-partition=none
|
||||||
|
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
%configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp
|
%configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp
|
||||||
@ -166,7 +166,7 @@ rm %{buildroot}/%{_includedir}/asoundlib.h
|
|||||||
%{_datadir}/alsa/topology
|
%{_datadir}/alsa/topology
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 15 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.4-2
|
* Thu Oct 15 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.4-3
|
||||||
- update to 1.2.4
|
- update to 1.2.4
|
||||||
- enable LTO
|
- enable LTO
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user