commit e2d9033e3306c3dbf7e728d9be5393fb84ab54d1
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Mar 30 19:49:39 2020 +0200
Use Clang on Fedora 32+ due to GCC regressions.
telegram-desktop.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 062abca..5498ad4 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,7 +1,11 @@
# Build conditionals (with - OFF, without - ON)...
%bcond_with rlottie
%bcond_with gtk3
+%if 0%{?fedora} && 0%{?fedora} >= 32
+%bcond_without clang
+%else
%bcond_with clang
+%endif
%bcond_without spellcheck
%bcond_without fonts
%bcond_without mindbg