Accepting request 428447 from network

- Speedup build/reduce it's memory consumption by using gold linker

OBS-URL: https://build.opensuse.org/request/show/428447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2016-09-20 11:27:16 +00:00 committed by Git OBS Bridge
parent 63059e0dd1
commit 7176f02bf6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 18 10:16:30 UTC 2016 - mpluskal@suse.com
- Speedup build/reduce it's memory consumption by using gold linker
-------------------------------------------------------------------
Wed Aug 24 14:35:06 UTC 2016 - mpluskal@suse.com

View File

@ -36,6 +36,7 @@ Source2: %{base}d.firewall
Source3: %{base}d.conf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: binutils-gold
BuildRequires: boost-devel
BuildRequires: gcc-c++
BuildRequires: git
@ -175,7 +176,7 @@ sed -i s/128// contrib/debian/%{name}-qt.desktop
autoreconf -fiv
export CXXFLAGS="%{optflags} -fPIE -fPIC"
export CFLAGS="%{optflags} -fPIE -fPIC"
export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie"
export LDFLAGS="-Wl,--no-undefined -Wl,-z,now -Wl,-fuse-ld=gold -pie"
%configure \
--with-cli=yes \
--with-daemon=yes \