Disable LTO for arm and x86

epel9
Andreas Schneider 3 years ago
parent ab637a7f1f
commit 40c8764fc5

@ -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

Loading…
Cancel
Save