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
This commit is contained in:
Bjørn Lie 2015-11-26 17:49:51 +00:00 committed by Git OBS Bridge
parent 2a7770228e
commit 70b737fd31
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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