commit 62cda3aa2db15f3414422d93f57744996863de32
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Aug 9 21:24:48 2020 +0100
Disable LTO for i686
ffmpeg.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 608464e..cd73709 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -349,8 +349,7 @@ This package contains development files for %{name}
--enable-shared \\\
%{!?_without_gpl:--enable-gpl} \\\
--disable-debug \\\
- --disable-stripping \\\
- --enable-lto
+ --disable-stripping
%prep
@@ -373,6 +372,9 @@ cp -pr doc/examples/{*.c,Makefile,README} _doc/examples/
--disable-doc \
--disable-ffmpeg --disable-ffplay --disable-ffprobe \
%endif
+%ifnarch %{ix86}
+ --enable-lto \
+%endif
%ifarch %{ix86}
--cpu=%{_target_cpu} \
%endif
Show replies by date