commit 352c95c9738d8ceb30d110a7871fcabd7f618955
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 3 22:22:15 2020 +0100
Disable LTO
compat-ffmpeg28.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/compat-ffmpeg28.spec b/compat-ffmpeg28.spec
index 7f7eb49..455291f 100644
--- a/compat-ffmpeg28.spec
+++ b/compat-ffmpeg28.spec
@@ -158,6 +158,10 @@ This package contains development files for %{name}
sed -i "s|check_host_cflags -O3|check_host_cflags $RPM_OPT_FLAGS|" configure
%build
+%ifarch x86_64
+# Fails due to asm issue
+%define _lto_cflags %{nil}
+%endif
%{ff_configure}\
--shlibdir=%{_libdir} \
--disable-doc \
@@ -223,6 +227,7 @@ fi
%changelog
* Sun Aug 02 2020 Leigh Scott <leigh123linux(a)gmail.com> - 2.8.17-2
- Rebuild for libdc1394
+- Disable LTO
* Thu Jul 09 2020 Leigh Scott <leigh123linux(a)gmail.com> - 2.8.17-1
- Update to 2.8.17