[webkitgtk3/f19] Re-enable full debuginfo

Kalev Lember kalev at fedoraproject.org
Mon Jun 3 17:28:51 UTC 2013


commit a84f8c9e81333ec11c5a8d4e77861f0ca25899da
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 5915f75..535dd90 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -110,10 +110,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/')
@@ -124,10 +123,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
@@ -231,6 +226,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 May 13 2013 Tomas Popela <tpopela at redhat.com> - 2.0.2-1
 - Update to 2.0.2


More information about the scm-commits mailing list