diff --git a/bitcoin.changes b/bitcoin.changes index 69f631e..84aba3d 100644 --- a/bitcoin.changes +++ b/bitcoin.changes @@ -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 diff --git a/bitcoin.spec b/bitcoin.spec index 3f6f860..3dcde8e 100644 --- a/bitcoin.spec +++ b/bitcoin.spec @@ -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 \