[webkitgtk3/f17] add ppc to low mem arches
Dan Horák
sharkcz at fedoraproject.org
Sun Mar 25 08:48:44 UTC 2012
commit 1fb987bd2217782142a3c7d6132023c8b98caaa5
Author: Dan Horák <dan at danny.cz>
Date: Sun Mar 25 10:48:37 2012 +0200
add ppc to low mem arches
- decrease debuginfo verbosity on s390 to save memory
webkitgtk3.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/webkitgtk3.spec b/webkitgtk3.spec
index cb3c7e7..dc2d4f8 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -7,7 +7,7 @@
Name: webkitgtk3
Version: 1.7.92
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GTK+ Web content engine library
Group: Development/Libraries
@@ -83,10 +83,14 @@ This package contains developer documentation for %{name}.
%patch2 -p1 -b .nspluginwrapper
%build
-%ifarch s390 %{arm}
+%ifarch s390 %{arm} ppc
# Use linker flags to reduce memory consumption on low-mem architectures
%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
%endif
+%ifarch s390
+# Decrease debuginfo verbosity to reduce memory consumption even more
+%global optflags %(echo %{optflags} | sed 's/-g/-g1/')
+%endif
CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY" %configure \
--with-gtk=3.0 \
@@ -171,6 +175,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
%changelog
+* Sat Mar 24 2012 Dan Horák <dan[at]danny.cz> - 1.7.92-2
+- add ppc to low mem arches
+- decrease debuginfo verbosity on s390 to save memory
+
* Wed Mar 21 2012 Kalev Lember <kalevlember at gmail.com> - 1.7.92-1
- Update to 1.7.92
- Don't pass --enable-geolocation to configure; it's now enabled by default
More information about the scm-commits
mailing list