From 7438dff96def674f52057d53f06893569b64057e161dacc5f7a21b7c88d438fe Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 10 May 2019 12:57:55 +0000 Subject: [PATCH] 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 --- alsa.changes | 6 ++++++ alsa.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/alsa.changes b/alsa.changes index 802bf42..eb048b7 100644 --- a/alsa.changes +++ b/alsa.changes @@ -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 diff --git a/alsa.spec b/alsa.spec index d23b314..caf8ec7 100644 --- a/alsa.spec +++ b/alsa.spec @@ -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