From 0ce875e31b861c1bc463c526386d84e8ed31ef2caf3955307931166691e87fa0 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 27 Jul 2022 07:10:26 +0000 Subject: [PATCH] Accepting request 991219 from home:Guillaume_G:branches:mozilla:Factory - Move %limit_build set before mozilla config to actually set the value of %jobs to MOZ_MAKE_FLAGS to fix build on aarch64 OBS-URL: https://build.opensuse.org/request/show/991219 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=987 --- MozillaFirefox.changes | 6 ++++++ MozillaFirefox.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index d89324d..2ef6111 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 13 07:54:21 UTC 2022 - Guillaume GARDET + +- Move %limit_build set before mozilla config to actually set the + value of %jobs to MOZ_MAKE_FLAGS to fix build on aarch64 + ------------------------------------------------------------------- Wed Jul 6 18:35:47 UTC 2022 - Andreas Stieger diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index e7523cb..86e810b 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -399,6 +399,10 @@ EOF # Done with env-variables. source ./.obsenv.sh +%ifarch aarch64 %arm ppc64 ppc64le +%limit_build -m 2000 +%endif + # Generating mozconfig cat << EOF > $MOZCONFIG mk_add_options MOZILLA_OFFICIAL=1 @@ -491,9 +495,6 @@ EOF cat ./.obsenv.sh cat $MOZCONFIG %else -%ifarch aarch64 %arm ppc64 ppc64le -%limit_build -m 2000 -%endif %if 0%{useccache} != 0 ccache -s