From 6b78971621e8108fc0f7ebb3500a635bf72c1f3f73256d8147ed7f8f84cf8634 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Sat, 26 May 2018 21:36:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=668 --- MozillaFirefox.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 23b67e6..df95588 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -58,6 +58,7 @@ BuildRequires: alsa-devel BuildRequires: autoconf213 BuildRequires: dbus-1-glib-devel BuildRequires: fdupes +BuildRequires: memory-constraints %if 0%{?suse_version} <= 1320 BuildRequires: gcc7-c++ %else @@ -306,7 +307,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="$CFLAGS -fno-delete-null-pointer-checks" %endif %ifarch aarch64 -# Workaround crash on startup. boo#1093059 export CFLAGS="$CFLAGS -ffixed-x28" %endif %ifarch %arm @@ -329,6 +329,7 @@ export CXXFLAGS="$CFLAGS" export RUSTFLAGS="-Cdebuginfo=0" %endif export MOZCONFIG=$RPM_BUILD_DIR/mozconfig +%limit_build -m 1500 cat << EOF > $MOZCONFIG mk_add_options MOZILLA_OFFICIAL=1 mk_add_options BUILD_OFFICIAL=1