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
|
@ -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
|
||||
${_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
|
||||
makedepends+=" libatomic-devel"
|
||||
CFLAGS+=" -latomic"
|
||||
|
@ -58,8 +56,6 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
*) configure_args+=" -DARCH=default" ;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
post_extract() {
|
||||
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
|
||||
|
@ -95,7 +91,7 @@ pre_build() {
|
|||
# but is not included in the binary package. It thus needs to be
|
||||
# built for the host
|
||||
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
|
||||
make ${makejobs} -C src/zxcvbn-c
|
||||
|
|
Loading…
Reference in New Issue