commit 10fbac1e77805de87d1e66afea62242cf502a9ae
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Aug 3 12:16:50 2020 +0200
Disable lto as appropriate
kodi.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/kodi.spec b/kodi.spec
index 5794d79..e0c4c7b 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -8,6 +8,8 @@
#global DIRVERSION %{version}%{PRERELEASE}
%global _hardened_build 1
%ifarch %{arm}
+# Disable LTO for arm, see
http://koji.rpmfusion.org/koji/taskinfo?taskID=424139
+%global _lto_cflags %{nil}
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif