[webkitgtk3] Re-enable full debuginfo

Kalev Lember kalev at fedoraproject.org
Mon Jun 3 14:34:54 UTC 2013


commit 63127f0aae5ce6de0cc873e2fb0ea58301c570bb
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Jun 3 16:22:42 2013 +0200

    Re-enable full debuginfo
    
    For a while, webkitgtk3 was built with -g1 to avoid running into the 4
    GB ar format limit with full -g builds. That issue has been fixed
    upstream by splitting up the .a libraries.
    
    This commit enables the full -g builds and also adds two additional
    linker flags: --no-keep-memory and --reduce-memory-overheads to further
    reduce linking memory overhead and avoid running out of memory in koji.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=861452

 webkitgtk3.spec |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/webkitgtk3.spec b/webkitgtk3.spec
index c643892..441afed 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -99,10 +99,9 @@ This package contains developer documentation for %{name}.
 %endif
 
 %build
-%ifarch s390 %{arm} ppc
-# Use linker flags to reduce memory consumption on low-mem architectures
+# Use linker flags to reduce memory consumption
 %global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
-%endif
+
 %ifarch s390 s390x
 # Decrease debuginfo verbosity to reduce memory consumption even more
 %global optflags %(echo %{optflags} | sed 's/-g/-g1/')
@@ -113,10 +112,6 @@ This package contains developer documentation for %{name}.
 %global optflags %{optflags} -Wl,-relax
 %endif
 
-# Build with -g1 on all platforms to avoid running into 4 GB ar format limit
-# https://bugs.webkit.org/show_bug.cgi?id=91154
-%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
-
 CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY" %configure                                                   \
                         --with-gtk=3.0                          \
 %ifarch s390 s390x ppc ppc64
@@ -221,6 +216,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -delete
 - Remove glib-compile-schemas scriptlets: the schemas are no longer installed
 - Add ldconfig calls to the libwebkit2gtk subpackage
 - Remove rpath from MiniBrowser
+- Re-enable full debuginfo (#861452)
 
 * Mon Jun 3 2013 Tomas Popela <tpopela at redhat.com> - 2.1.1-1
 - Update to 2.1.1


More information about the scm-commits mailing list