commit 9805b43c803835e104c74bc4116e6e8adf8b74ff
Author: Vasiliy Glazov <v.glazov(a)1440.space>
Date: Tue Nov 19 10:24:13 2024 +0300
Try to disable LTO for aarch64.
telegram-desktop.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index bb02265..e179c74 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,3 +1,7 @@
+%ifarch aarch64
+ %global _lto_cflags %nil
+%endif
+
# Telegram Desktop's constants...
%global appname tdesktop