monero-gui: fix cross.
We moved to ninja cmake generator so generate_translation_headers was not being generated properly as a makefile. Moving to ninja for the building command solves this issue.
This commit is contained in:
parent
1f26ec6bbf
commit
9f2211a5d2
1 changed files with 1 additions and 5 deletions
|
@ -35,8 +35,6 @@ checksum="3a924b4e08b557d93337a0c05826a9fa95e5cf8c503aff0ecb3676be45db1d14
|
||||||
skip_extraction="monero-${version}.tar.gz ${_rapidjson_gitrev}.tar.gz ${_supercop_gitrev}.tar.gz v${_randomx_version}.tar.gz
|
skip_extraction="monero-${version}.tar.gz ${_rapidjson_gitrev}.tar.gz ${_supercop_gitrev}.tar.gz v${_randomx_version}.tar.gz
|
||||||
${_quirc_gitrev}.tar.gz"
|
${_quirc_gitrev}.tar.gz"
|
||||||
|
|
||||||
nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/31154/steps/shell_3/logs/stdio"
|
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
CFLAGS+=" -latomic"
|
CFLAGS+=" -latomic"
|
||||||
|
@ -58,8 +56,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*) configure_args+=" -DARCH=default" ;;
|
*) configure_args+=" -DARCH=default" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/monero-${_monero_version}.tar.gz --strip-components 1 -C monero
|
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/monero-${_monero_version}.tar.gz --strip-components 1 -C monero
|
||||||
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_rapidjson_gitrev}.tar.gz --strip-components 1 -C monero/external/rapidjson
|
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_rapidjson_gitrev}.tar.gz --strip-components 1 -C monero/external/rapidjson
|
||||||
|
@ -95,7 +91,7 @@ pre_build() {
|
||||||
# but is not included in the binary package. It thus needs to be
|
# but is not included in the binary package. It thus needs to be
|
||||||
# built for the host
|
# built for the host
|
||||||
CC=${CC_host} CFLAGS="${XBPS_CFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
|
CC=${CC_host} CFLAGS="${XBPS_CFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
|
||||||
make -C build/monero ${makejobs} generate_translations_header
|
ninja -C build ${makejobs} generate_translations_header
|
||||||
|
|
||||||
fi
|
fi
|
||||||
make ${makejobs} -C src/zxcvbn-c
|
make ${makejobs} -C src/zxcvbn-c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue