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:
commit
d7bdba674a
@ -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>
|
||||
|
||||
|
12
bitcoin.spec
12
bitcoin.spec
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user