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

View File

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