SHA256
1
0
forked from jengelh/ffmpeg-4

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
This commit is contained in:
Jan Engelhardt 2019-05-05 20:45:23 +00:00 committed by Git OBS Bridge
parent 6a2f242e87
commit 136cd8a1ec
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 5 19:54:07 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Disable LTO again, as it breaks build for i586 (boo#1133123).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 3 10:08:30 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Fri May 3 10:08:30 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -567,10 +567,8 @@ break compatibility without any notice.
%autopatch -p1 %autopatch -p1
%build %build
%define _lto_cflags %{nil}
CFLAGS="%optflags" \ CFLAGS="%optflags" \
%if %{suse_version} > 1500
LDFLAGS="%_lto_cflags" \
%endif
./configure \ ./configure \
--prefix="%_prefix" \ --prefix="%_prefix" \
--libdir="%_libdir" \ --libdir="%_libdir" \
@ -650,9 +648,6 @@ LDFLAGS="%_lto_cflags" \
--enable-libzmq \ --enable-libzmq \
%endif %endif
--enable-libzvbi \ --enable-libzvbi \
%if 0%{?suse_version} > 1500
--enable-lto \
%endif
%if %{with lv2} %if %{with lv2}
--enable-lv2 \ --enable-lv2 \
%endif %endif