dtardon pushed to libreoffice (f22). "fix memory exhaustion on link on s390 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 20 10:53:52 UTC 2015


>From 9a43bd3be8a3752699c49b6e242ca01e2b64efcf Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon at redhat.com>
Date: Mon, 20 Apr 2015 12:52:51 +0200
Subject: fix memory exhaustion on link on s390

(cherry picked from commit 3bfe04e7a5cd44b2fd3cdc3356e1aaff3dd240dd)

diff --git a/libreoffice.spec b/libreoffice.spec
index 66a9a31..2b5aa83 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -1207,6 +1207,10 @@ for i in $RPM_OPT_FLAGS; do
         esac
         ARCH_FLAGS="$ARCH_FLAGS $i"
 done
+%ifarch s390
+# s390 builders do not have enough memory to link the big libs with -g2
+ARCH_FLAGS="$ARCH_FLAGS -g1"
+%endif
 export ARCH_FLAGS
 export CFLAGS=$ARCH_FLAGS
 export CXXFLAGS=$ARCH_FLAGS
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libreoffice.git/commit/?h=f22&id=9a43bd3be8a3752699c49b6e242ca01e2b64efcf


More information about the scm-commits mailing list