forked from jengelh/ffmpeg-4
Accepting request 702826 from home:marxin:branches:multimedia:libs
- Enable LTO for all except i586 (boo#1133123). OBS-URL: https://build.opensuse.org/request/show/702826 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=68
This commit is contained in:
parent
136cd8a1ec
commit
c3028f2aad
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 11:38:01 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Enable LTO for all except i586 (boo#1133123).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 5 19:54:07 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@ -567,8 +567,16 @@ break compatibility without any notice.
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%ifarch %ix86
|
||||
%define _lto_cflags %{nil}
|
||||
%endif
|
||||
CFLAGS="%optflags" \
|
||||
%if %{suse_version} > 1500
|
||||
%ifarch %ix86
|
||||
%else
|
||||
LDFLAGS="%_lto_cflags" \
|
||||
%endif
|
||||
%endif
|
||||
./configure \
|
||||
--prefix="%_prefix" \
|
||||
--libdir="%_libdir" \
|
||||
@ -648,6 +656,12 @@ CFLAGS="%optflags" \
|
||||
--enable-libzmq \
|
||||
%endif
|
||||
--enable-libzvbi \
|
||||
%if 0%{?suse_version} > 1500
|
||||
%ifarch %ix86
|
||||
%else
|
||||
--enable-lto \
|
||||
%endif
|
||||
%endif
|
||||
%if %{with lv2}
|
||||
--enable-lv2 \
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user