[qt-creator] Reduce debuginfo level to reduce memory consumption

Sandro Mani smani at fedoraproject.org
Sat Mar 8 22:13:49 UTC 2014


commit 56fed248805565f381d84ed4ed1b95337601ea81
Author: Sandro Mani <manisandro at gmail.com>
Date:   Sat Mar 8 23:13:32 2014 +0100

    Reduce debuginfo level to reduce memory consumption

 qt-creator.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/qt-creator.spec b/qt-creator.spec
index 6ac8ae2..0ed1c0a 100644
--- a/qt-creator.spec
+++ b/qt-creator.spec
@@ -1,3 +1,8 @@
+%ifarch %{arm}
+# Decrease debuginfo verbosity to reduce memory consumption even more
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
+
 #global pre rc1
 
 Name:           qt-creator
@@ -114,7 +119,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 #%%{_datadir}/doc/qtcreator/qtcreator.qch
 
 %changelog
-* Thu Mar 06 2014 Sandro Mani <manisandro at gmail.com> - 3.0.1-3
+* Sat Mar 08 2014 Sandro Mani <manisandro at gmail.com> - 3.0.1-3
 - Restore accidentally reverted changes to URL, summary, description
 
 * Wed Mar 05 2014 Sandro Mani <manisandro at gmail.com> - 3.0.1-2


More information about the scm-commits mailing list