commit 723c6f06bb1cf56d9b7eae67decbe1523b89f140
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Aug 20 12:17:22 2020 +0200
Fixed FTBFS by opting out of LTO on ARMv7 architectures.
libtgvoip.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/libtgvoip.spec b/libtgvoip.spec
index 567dea5..fdb0ab1 100644
--- a/libtgvoip.spec
+++ b/libtgvoip.spec
@@ -1,3 +1,7 @@
+%ifarch %{arm}
+%define _lto_cflags %{nil}
+%endif
+
%global commit0 8682c5c22e9c3a28ee3aacfd1d529db07ea914bf
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global date 20200521