From 70b737fd31388be67c9101f0c8ca227c048a142966d98c0f5b719d37f20eb506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Thu, 26 Nov 2015 17:49:51 +0000 Subject: [PATCH] Accepting request 345930 from home:Zaitor:branches:GNOME:Factory Subbed for debate - I also hear from upstream that using clang for webkit == huge speedup in buildtime, so it might be something to consider too. OBS-URL: https://build.opensuse.org/request/show/345930 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=47 --- webkit2gtk3.changes | 7 +++++++ webkit2gtk3.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/webkit2gtk3.changes b/webkit2gtk3.changes index f53a587..e6c16d4 100644 --- a/webkit2gtk3.changes +++ b/webkit2gtk3.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 23 20:40:17 UTC 2015 - zaitor@opensuse.org + +- Add binutils-gold BuildRequires: Use the gold linker for build + and remove --reduce-memory-overheads from RPMOPT flags since + gold-linker does not know it. + ------------------------------------------------------------------- Wed Nov 11 10:36:11 UTC 2015 - zaitor@opensuse.org diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index b80b37f..0012e33 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -36,6 +36,7 @@ Source: http://webkitgtk.org/releases/%{_name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-OPENSUSE webkitgtk-typelib-sharelib-link.patch dimstar@opensuse.org -- Fixup the .gir file to contain the full library name for libjavascriptcore. Patch0: webkitgtk-typelib-sharelib-link.patch +BuildRequires: binutils-gold BuildRequires: bison >= 2.3 BuildRequires: cmake BuildRequires: gcc-c++ >= 4.9 @@ -211,7 +212,7 @@ more. %build # Use linker flags to reduce memory consumption -%global optflags %(echo %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads| sed 's/-g /-g1 /') +%global optflags %(echo %{optflags} -Wl,--no-keep-memory | sed 's/-g /-g1 /') %ifarch ppc ppc64 ppc64le %global optflags %{optflags} -DENABLE_YARR_JIT=0 %endif