[qt-creator] Disable parallel build on arm

Sandro Mani smani at fedoraproject.org
Fri Mar 7 13:08:59 UTC 2014


commit 1504f504dab8f41dbb9351ff6db9a1dfdb125e36
Author: Sandro Mani <manisandro at gmail.com>
Date:   Fri Mar 7 14:08:41 2014 +0100

    Disable parallel build on arm

 qt-creator.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/qt-creator.spec b/qt-creator.spec
index 8c2d9f7..6ac8ae2 100644
--- a/qt-creator.spec
+++ b/qt-creator.spec
@@ -53,7 +53,12 @@ export CXXFLAGS="${CXXFLAGS:-%optflags}"
 export FFLAGS="${FFLAGS:-%optflags}"
 
 qmake-qt5 -r IDE_LIBRARY_BASENAME=%{_lib} USE_SYSTEM_BOTAN=1
+# Disable parallel build on arm since it can lead to swapping which makes the build time out
+%ifarch %{arm}
+make
+%else
 make %{?_smp_mflags}
+%endif
 
 %install
 make install INSTALL_ROOT=%{buildroot}/%{_prefix}


More information about the scm-commits mailing list