Hello community,

here is the log from the commit of package webkit2gtk3 for openSUSE:Factory 
checked in at 2017-10-27 13:47:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/webkit2gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.webkit2gtk3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "webkit2gtk3"

Fri Oct 27 13:47:40 2017 rev:45 rq:536618 version:2.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/webkit2gtk3/webkit2gtk3.changes  2017-09-15 
21:07:28.859921170 +0200
+++ /work/SRC/openSUSE:Factory/.webkit2gtk3.new/webkit2gtk3.changes     
2017-10-27 13:47:41.734511693 +0200
@@ -1,0 +2,5 @@
+Tue Oct 24 14:29:11 UTC 2017 - fcro...@suse.com
+
+- Enable gold linker on s390/s390x on SLE15/Tumbleweed.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ webkit2gtk3.spec ++++++
--- /var/tmp/diff_new_pack.SCNkqV/_old  2017-10-27 13:47:42.654468697 +0200
+++ /var/tmp/diff_new_pack.SCNkqV/_new  2017-10-27 13:47:42.658468510 +0200
@@ -25,6 +25,15 @@
 %define _jscver 4
 %define _pkgconfig_suffix gtk-3.0
 %define _name webkitgtk
+
+# gold linker not available on old s390/s390x
+%define _gold_linker 1
+%if 0%{suse_version} < 1320
+%ifarch s390 s390x
+%define _gold_linker 0
+%endif
+%endif
+
 Name:           webkit2gtk3
 Version:        2.18.0
 Release:        0
@@ -79,7 +88,7 @@
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(xt)
 BuildRequires:  pkgconfig(zlib)
-%ifnarch s390 s390x
+%if %{_gold_linker}
 BuildRequires:  binutils-gold
 %endif
 BuildRequires:  gcc-c++ >= 4.9
@@ -236,11 +245,10 @@
 
 %build
 # Use linker flags to reduce memory consumption
-%ifarch s390 s390x
-# binutils-gold doesn't exist on s390x
-%global optflags %(echo %{optflags} -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads | sed 's/-g /-g1 /')
-%else
+%if %{_gold_linker}
 %global optflags %(echo %{optflags} -Wl,--no-keep-memory | sed 's/-g /-g1 /')
+%else
+%global optflags %(echo %{optflags} -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads | sed 's/-g /-g1 /')
 %endif
 %cmake \
   -DCMAKE_BUILD_TYPE=Release \


Reply via email to