[webkitgtk3/f14/master] - Do not generate debug information to prevent linker memory exhaustion on s390 with its 2 GB addres

Dan Horák sharkcz at fedoraproject.org
Wed Aug 25 21:23:26 UTC 2010


commit ef52386c0c5e29062cbddb5dc8bfeb6cb7c972bb
Author: Dan Horák <dan at danny.cz>
Date:   Wed Aug 25 21:33:23 2010 +0200

    - Do not generate debug information to prevent linker memory exhaustion on s390 with its 2 GB address space

 webkitgtk3.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/webkitgtk3.spec b/webkitgtk3.spec
index 19816dd..62c36e7 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -7,7 +7,7 @@
 
 Name:           webkitgtk3
 Version:        1.3.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        GTK+ Web content engine library
 
 Group:          Development/Libraries
@@ -70,6 +70,11 @@ files for developing applications that use %{name}.
 %patch1 -p1 -b .s390
 
 %build
+%ifarch s390
+# drop -g flag to prevent memory exhaustion by linker
+%global optflags %(echo %{optflags} | sed 's/-g//')
+%endif
+
 CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY" %configure                                                   \
                         --with-gtk=3.0                          \
                         --disable-jit                           \
@@ -134,6 +139,9 @@ install -m 755 Programs/GtkLauncher %{buildroot}%{_libexecdir}/%{name}
 
 
 %changelog
+* Wed Aug 25 2010 Dan Horák <dan[at]danny.cz> - 1.3.3-4
+- Do not generate debug information to prevent linker memory exhaustion on s390 with its 2 GB address space
+
 * Wed Jul 21 2010 Dan Horák <dan[at]danny.cz> - 1.3.3-3
 - Fix build on s390(x)
 


More information about the scm-commits mailing list