diff --git a/srcpkgs/erofs-utils/template b/srcpkgs/erofs-utils/template index 60b401d64cb..3e7f595e3f0 100644 --- a/srcpkgs/erofs-utils/template +++ b/srcpkgs/erofs-utils/template @@ -16,7 +16,9 @@ distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git checksum=b6eb529bb423eb2dd779c9da9c2632855488b4b91e23553a31ce23f11c9cce2c if [ "$CROSS_BUILD" ]; then - configure_args+=" MAX_BLOCK_SIZE=4096" + case "${XBPS_TARGET_MACHINE}" in + armv6l*|armv7l*|aarch64*) configure_args+=" MAX_BLOCK_SIZE=4096" ;; + esac fi pre_configure() {