commit 0117ecb7e7b383fce38eb14632dbad597c1848c1
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Mar 23 16:57:58 2020 +0100
Use -g2 flags on aarch64/ppc64le architectures.
telegram-desktop.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index d472658..aca76b7 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -27,7 +27,11 @@
# Decrease debuginfo verbosity to reduce memory consumption...
%if %{with mindbg}
+%ifarch x86_64
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%else
+%global optflags %(echo %{optflags} | sed 's/-g /-g2 /')
+%endif
%endif
Name: telegram-desktop
Show replies by date