Re-enable LTO
This commit is contained in:
parent
0dc0eae751
commit
5e9ca6bc17
10
libvpx.spec
10
libvpx.spec
@ -6,7 +6,7 @@
|
||||
Name: libvpx
|
||||
Summary: VP8/VP9 Video Codec SDK
|
||||
Version: 1.9.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
#Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2
|
||||
Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz
|
||||
@ -49,11 +49,6 @@ and decoder.
|
||||
%patch0 -p1 -b .leave-fs-on
|
||||
|
||||
%build
|
||||
# This package fails to build with LTO due to undefined symbols. LTO
|
||||
# was disabled in OpenSuSE as well, but with no real explanation why
|
||||
# beyond the undefined symbols. It really shold be investigated further.
|
||||
# Disable LTO
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
%ifarch %{ix86}
|
||||
%global vpxtarget x86-linux-gcc
|
||||
@ -237,6 +232,9 @@ rm -rf %{buildroot}%{_prefix}/src
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog
|
||||
* Sat Oct 10 2020 Jeff Law <law@redhat.com> - 1.9.0-2
|
||||
- Re-enable LTO
|
||||
|
||||
* Thu Aug 13 2020 Tom Callaway <spot@fedoraproject.org> - 1.9.0-1
|
||||
- update to 1.9.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user