[packages/firefox] - squeeze some memory during build on ix86
baggins
baggins at pld-linux.org
Tue Jun 4 08:17:14 CEST 2019
commit b2955da237d0756d42dc6b46f2abb0e93cab8a95
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jun 4 08:16:52 2019 +0200
- squeeze some memory during build on ix86
firefox.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/firefox.spec b/firefox.spec
index c60c946..6da87e8 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -2201,6 +2201,11 @@ ac_add_options "MOZ_ALLOW_LEGACY_EXTENSIONS=1"
%endif
EOF
+%ifarch %{ix86}
+export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+export RUSTFLAGS="-Cdebuginfo=0"
+%endif
+
export MOZ_MAKE_FLAGS="-j1"
export MOZ_SERVICES_SYNC="1"
%if %{with pgo}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/b2955da237d0756d42dc6b46f2abb0e93cab8a95
More information about the pld-cvs-commit
mailing list