commit c8f693c224a8d819c67aead9fdd2a9ef951035e4
Author: Kevin Kofler <kevin.kofler(a)chello.at>
Date: Mon Jan 24 22:47:14 2022 +0100
Try -j2 instead of -j8 on aarch64.
Also try -g1 for the Qt parts, the Chromium parts are already -g0.
qt5-qtwebengine-freeworld.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/qt5-qtwebengine-freeworld.spec b/qt5-qtwebengine-freeworld.spec
index 75428cf..2fc8f65 100644
--- a/qt5-qtwebengine-freeworld.spec
+++ b/qt5-qtwebengine-freeworld.spec
@@ -42,7 +42,10 @@
# the RPM Fusion ARM builder runs out of memory during linking with the full
# setting below, and even with just force_debug_info, so omit all debuginfo
%global debug_config %{nil}
-%global optflags %(echo %{optflags} | sed 's/-g /-g0 /')
+# reduce debug info even for the Qt parts to a minimum
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+# tune down SMP to reduce memory use further
+%global _smp_build_ncpus 2
%else
%global debug_config force_debug_info
# webcore_debug v8base_debug