From f4a3e4c1e3bfbe5d016781d1f06c9afcdff2e99e Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Wed, 21 Jun 2017 12:02:23 +0200 Subject: [PATCH] Reduce debugging info on ARM on F26- For some reason, the builder ran out of memory on F26 but not on Rawhide. --- qt5-qtwebengine.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index c824a44..4a44d7f 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -23,9 +23,20 @@ # FTBFS due to e.g. GCC bug https://bugzilla.redhat.com/show_bug.cgi?id=1282495 %global arm_neon 1 +%if 0%{?fedora} > 26 # the QMake CONFIG flags to force debugging information to be produced in # release builds, and for all parts of the code %global debug_config webcore_debug v8base_debug force_debug_info +%else +%ifarch %{arm} +# the ARM builder runs out of memory on Fedora 26 during linking with the full +# setting below, so omit debugging information for the parts upstream deems it +# dispensable for (webcore, v8base) +%global debug_config force_debug_info +%else +%global debug_config webcore_debug v8base_debug force_debug_info +%endif +%endif #global prerelease rc