Disable LTO for arm and x86

This commit is contained in:
Andreas Schneider 2022-02-12 13:12:06 +01:00
parent ab637a7f1f
commit 40c8764fc5
1 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@
%global pkg_suffix -free
# Fails due to asm issue
%ifarch %{ix86} %arm
%ifarch %{ix86} %{arm}
%bcond_with lto
%else
%bcond_without lto
@ -48,6 +48,10 @@
%bcond_with xvid
%endif
%if %{without lto}
%global _lto_cflags %{nil}
%endif
%global av_codec_soversion 59
%global av_device_soversion 59
%global av_filter_soversion 8