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
|
||||
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 <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
|
||||
- enable LTO
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user