From 136cd8a1ec694b7564c264023ab947282490e33b1c72d1b9278aa19fb5904d42 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 5 May 2019 20:45:23 +0000 Subject: [PATCH] Accepting request 700897 from home:iznogood:branches:multimedia:libs - Disable LTO again, as it breaks build for i586 (boo#1133123). OBS-URL: https://build.opensuse.org/request/show/700897 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=66 --- ffmpeg-4.changes | 5 +++++ ffmpeg-4.spec | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index cc8a837..4735922 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun May 5 19:54:07 UTC 2019 - Bjørn Lie + +- Disable LTO again, as it breaks build for i586 (boo#1133123). + ------------------------------------------------------------------- Fri May 3 10:08:30 UTC 2019 - Jan Engelhardt diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 23c7736..c58da48 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -567,10 +567,8 @@ break compatibility without any notice. %autopatch -p1 %build +%define _lto_cflags %{nil} CFLAGS="%optflags" \ -%if %{suse_version} > 1500 -LDFLAGS="%_lto_cflags" \ -%endif ./configure \ --prefix="%_prefix" \ --libdir="%_libdir" \ @@ -650,9 +648,6 @@ LDFLAGS="%_lto_cflags" \ --enable-libzmq \ %endif --enable-libzvbi \ -%if 0%{?suse_version} > 1500 - --enable-lto \ -%endif %if %{with lv2} --enable-lv2 \ %endif