monero: fix armv6* build
This commit is contained in:
parent
89c8d87096
commit
7bf256ed8b
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'monero'
|
# Template file for 'monero'
|
||||||
pkgname=monero
|
pkgname=monero
|
||||||
version=0.11.1.0
|
version=0.11.1.0
|
||||||
revision=1
|
revision=2
|
||||||
conf_files="/etc/monerod.conf"
|
conf_files="/etc/monerod.conf"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
@ -27,6 +27,7 @@ case "$XBPS_TARGET_MACHINE" in
|
|||||||
armv7*) configure_args+=" -DARCH=armv7"
|
armv7*) configure_args+=" -DARCH=armv7"
|
||||||
;;
|
;;
|
||||||
armv6*) configure_args+=" -DARCH=armv6"
|
armv6*) configure_args+=" -DARCH=armv6"
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
;;
|
;;
|
||||||
aarch64*) configure_args+=" -DARCH=aarch64"
|
aarch64*) configure_args+=" -DARCH=aarch64"
|
||||||
;;
|
;;
|
||||||
@ -34,6 +35,14 @@ case "$XBPS_TARGET_MACHINE" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv6*) sed -i CMakeLists.txt \
|
||||||
|
-e '/include(version.cmake)/i list(APPEND EXTRA_LIBRARIES libatomic.a)'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vbin build/bin/monero-blockchain-import
|
vbin build/bin/monero-blockchain-import
|
||||||
|
Loading…
x
Reference in New Issue
Block a user