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:
parent
4303fc005e
commit
0a0e627e1c
@ -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>
|
Thu Apr 21 19:05:39 UTC 2022 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
@ -69,11 +69,6 @@ ExclusiveArch: do-not-build
|
|||||||
%define _usesoup2 0
|
%define _usesoup2 0
|
||||||
%endif
|
%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}
|
Name: webkit2%{_gtknamesuffix}
|
||||||
Version: 2.36.1
|
Version: 2.36.1
|
||||||
Release: 0
|
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(wpebackend-fdo-1.0) >= 1.6.0
|
||||||
BuildRequires: pkgconfig(xt)
|
BuildRequires: pkgconfig(xt)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
%if %{_gold_linker}
|
|
||||||
BuildRequires: binutils-gold
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
WebKit is a web content engine, derived from KHTML and KJS from KDE,
|
WebKit is a web content engine, derived from KHTML and KJS from KDE,
|
||||||
@ -359,11 +351,7 @@ fi
|
|||||||
|
|
||||||
export PYTHON=%{_bindir}/python3
|
export PYTHON=%{_bindir}/python3
|
||||||
# Use linker flags to reduce memory consumption
|
# 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 /')
|
%global optflags %(echo %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads | sed 's/-g /-g1 /')
|
||||||
%endif
|
|
||||||
%cmake \
|
%cmake \
|
||||||
-GNinja \
|
-GNinja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
Loading…
Reference in New Issue
Block a user