commit 24f833bc12e3b410e03e19c24befcf21738dc8aa
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 3 09:29:05 2020 +0100
Disable LTO for arm
kodi.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/kodi.spec b/kodi.spec
index 5794d79..3a3844d 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -384,6 +384,10 @@ sed -i 's/ pkg_check_modules(PC_PYTHON python>=2.7 QUIET)/
pkg_check_modules(P
%build
+# Disable LTO for arm, see
http://koji.rpmfusion.org/koji/taskinfo?taskID=424139
+%ifarch %{arm}
+%define _lto_cflags %{nil}
+%endif
mkdir {fedora-gbm,fedora-wayland,fedora-x11}
for BACKEND in %{kodi_backends}