Accepting request 701994 from home:tiwai:branches:multimedia:libs

- Re-enable LTO (bsc#1133086);
  we need to pass -flto-partition=none as a workaround

OBS-URL: https://build.opensuse.org/request/show/701994
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=251
This commit is contained in:
Takashi Iwai 2019-05-10 12:57:55 +00:00 committed by Git OBS Bridge
parent 4f879b97a8
commit 7438dff96d
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 10 13:00:38 CEST 2019 - tiwai@suse.de
- Re-enable LTO (bsc#1133086);
we need to pass -flto-partition=none as a workaround
-------------------------------------------------------------------
Fri May 10 11:42:23 CEST 2019 - tiwai@suse.de

View File

@ -24,6 +24,7 @@
%if 0%{?suse_version} < 1200
%define _udevrulesdir /lib/udev/rules.d/
%endif
Name: alsa
Version: 1.1.9
Release: 0
@ -118,7 +119,8 @@ Architecture.
%patch101 -p1
%build
%define _lto_cflags %{nil}
# need the extra option for some workround (bsc#1133086)
%global _lto_cflags %{_lto_cflags} -flto-partition=none
export AUTOMAKE_JOBS="%{?_smp_mflags}"
# build alsa-lib
autoreconf -fi