SHA256
1
0
forked from pool/bitcoin

Accepting request 788741 from network:cryptocurrencies

OBS-URL: https://build.opensuse.org/request/show/788741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2020-03-27 20:57:36 +00:00 committed by Git OBS Bridge
commit d7bdba674a
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 26 20:57:22 UTC 2020 - Michał Rostecki <mrostecki@opensuse.org>
- Fix build on aarch64.
-------------------------------------------------------------------
Wed Mar 11 13:25:45 UTC 2020 - Michał Rostecki <mrostecki@opensuse.org>

View File

@ -176,7 +176,19 @@ autoreconf -fiv
export CXXFLAGS="%{optflags} -fPIE -fPIC"
export CFLAGS="%{optflags} -fPIE -fPIC"
export LDFLAGS="-pie"
# Autodetecting if assembly optimizazions for secp256k1 can be used does not
# work well on non-x86_64 architectures, like i.e. aarch64, which results in
# build errors. At the same time, x86_64 is the only architecture for which
# assembly is properly supported (ARM assembly optimizations are still
# experimental). Let's just disable asm for all the other architectures until
# that doesn't change.
%configure \
%ifarch x86_64
--with-asm=auto \
%else
--with-asm=no \
%endif
--with-cli=yes \
--with-daemon=yes \
--with-gui=qt5 \