Accepting request 974345 from home:marxin:branches:GNOME:Factory

- Remove dependency on binutils-gold as the package will be removed
  in the future. Gold linker is unmaintained by the upstream project.

OBS-URL: https://build.opensuse.org/request/show/974345
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=349
This commit is contained in:
Dominique Leuenberger 2022-05-02 08:35:20 +00:00 committed by Git OBS Bridge
parent 4303fc005e
commit 0a0e627e1c
2 changed files with 6 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 2 08:24:28 UTC 2022 - Martin Liška <mliska@suse.cz>
- Remove dependency on binutils-gold as the package will be removed
in the future. Gold linker is unmaintained by the upstream project.
-------------------------------------------------------------------
Thu Apr 21 19:05:39 UTC 2022 - Michael Gorse <mgorse@suse.com>

View File

@ -69,11 +69,6 @@ ExclusiveArch: do-not-build
%define _usesoup2 0
%endif
# gold linker not available on old s390/s390x
%define _gold_linker 0
%ifarch ppc ppc64le s390
%define _gold_linker 0
%endif
Name: webkit2%{_gtknamesuffix}
Version: 2.36.1
Release: 0
@ -171,9 +166,6 @@ BuildRequires: pkgconfig(wpe-1.0) >= 1.3.0
BuildRequires: pkgconfig(wpebackend-fdo-1.0) >= 1.6.0
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(zlib)
%if %{_gold_linker}
BuildRequires: binutils-gold
%endif
%description
WebKit is a web content engine, derived from KHTML and KJS from KDE,
@ -359,11 +351,7 @@ fi
export PYTHON=%{_bindir}/python3
# Use linker flags to reduce memory consumption
%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 \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \